Servertec   Cookies( )
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Side
Preprocessor
Executable
Samples
Sales
Legal
Feedback

 

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

    nothing

Notes

    This method is only accessible by ss and by iScript Servlet.

Example

    Response( ).Cookies( cookie )
    Response( ).Cookies( "ID", id )
    
 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999