Used to create a new hashtable to hold cookie objects, to return the cookie object associates with a given cookie name or used to set a given cookie object to a given value on the specified response object.
Syntax
Cookies( response )
response.Cookies( )
Parameters
response
|
the response object to use.
|
Returns
hashtable
|
the hashtable object containing cookies objects.
null if there are no cookie objects.
|
Notes
This method is only accessible by ss and by iScript Servlet.
Example
cookies = Response( ).Cookies( )
Syntax
Cookies( response , string )
response.Cookies( string )
Parameters
response
|
the response object to use.
|
string
|
the name associated with the cookie object.
|
Returns
cookie
|
the associated cookie object.
null if there is no associated cookie object.
|
Notes
This method is only accessible by ss and by iScript Servlet.
Example
cookie = Response( ).Cookies( "ID" )
Syntax
Cookies( response , string1 , string2 )
response.Cookies( string1 , string2 )
Cookies( response , cookie )
response.Cookies( cookie )
Parameters
response
|
the response object to use.
|
string1
|
the name associated with the cookie object.
|
string2
|
the value to associate.
|
cookie
|
the cookie object to use.
|
Returns
Notes
This method is only accessible by ss and by iScript Servlet.
Example
Response( ).Cookies( cookie )
Response( ).Cookies( "ID", id )
|