cookie class : IsSession getter

Description

Returns whether it is a session cookie.

Syntax

instance.IsSession

Arguments

None.

Return value

ClassDescription
boolWhether it is a session cookie.

Sample code

1:

browser br;

2:

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

3:

bool session = coo.IsSession;

Notes

If it is a session cookie, return true. Otherwise, return false.

Links for reference

None.

Copyright © Cooker All rights reserved.