cookie class : Copy() method
Description
Copy a cookie.
Syntax
instance.Copy()
Arguments
None.
Return value
Class | Description |
cookie | An instance of cookie class. |
Sample code
1: | cookie coo = new cookie("cookie_name","cookie_value","example.com","/"); |
2: | cookie newCoo = coo.Copy(); |
Notes
Create a cookie with the same parameters as the caller.
Links for reference
None.