Servertec Cookies( )
M E N U

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

Wrappers
Server Side
Preprocessor
Executable
Make
Samples
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.

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.

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.

Example

    Response( ).Cookies( cookie )
    Response( ).Cookies( "ID", id )
top of page
Built with iScript Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Wed Apr 15 00:16:38 EDT 1998