cookie class : SameSite getter

Description

Returns the SameSite attribute.

Syntax

instance.SameSite

Arguments

None.

Return value

ClassDescription
stringSameSite attribute.

Sample code

1:

browser br;

2:

cookie coo = br.GetCookie("Example");

3:

string samesite = coo.SameSite;

Notes

Returns a string that represents the SameSite attribute. The types are:

Lax

Strict

None

Links for reference

None.

Copyright © Cooker All rights reserved.