cookie class : Set() method
Description
Register a cookie.
Syntax
instance.Set()
Arguments
None.
Return value
None.
Sample code
1: | cookie coo = new cookie("cookie_name","cookie_value","example.com","/"); |
2: | coo.Set(); |
Notes
If there is a cookie with a matching name, domain and path, the value will be overwritten. If it does not exist, it will be registered as a new cookie.
Links for reference
None.