cookie class : ToSession() method

Description

Make it a session cookie.

Syntax

instance.ToSession()

Arguments

None.

Return value

None.

Sample code

1:

browser br;

2:

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

3:

coo.ToSession();

4:

coo.Set();

Notes

You need to call the Set() method to commit your changes.

Links for reference

None.

Copyright © Cooker All rights reserved.