cookie class : cookie(string,string,string,string) fitter
Description
Returns a new instance of cookie class.
Syntax
new cookie(string name, string value, string domain, string path)
Arguments
Class | Name | Description |
string | name | The name of the cookie. |
string | value | The value of the cookie. |
string | domain | Domain. |
string | path | Path. |
Return value
Class | Description |
cookie | A new instance of cookie class. |
Sample code
1: | cookie instance = new cookie("cookie_name","cookie_value","example.com","/"); |
Notes
Creates an instance of the cookie class with the specified name, value, domain, and path.
The created instance is not yet registered.
Links for reference
None.