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