Servertec Headers( )
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 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.

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.

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

    nothing

Notes

This method is only accessible by ss.

Example

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