Servertec getSession( )
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
Config
Context
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
available( )
Content( )
contentData( )
cookieData( )
Cookies( )
decode( )
Form( )
formData( )
getSession( )
isSecure( )
isSessionFromCookie( )
isSessionFromURL( )
isSessionValid( )
length( )
method( )
parseCookies( )
parseRequest( )
path( )
QueryString( )
queryStringData( )
read( )
Request( )
ServerVariables( )
skip( )

RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable
Samples
Legal
Contact Us

 

Used to retrieve the current Session object or to create a new one.

Syntax

    getSession( request )
    request.getSession( )

Parameters

    request the request object to use.

Returns

    Session the current Session object, null if none.

Notes

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

Example

    session = Request( ).getSession( )
    

Syntax

    getSession( request , boolean )
    request.getSession( boolean )

Parameters

    request the request object to use.
    boolean whether to create a new Session object if one does not already exist.

Returns

    Session the current Session object, null if none exists and create was not specified.

Notes

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

Example

    session = Request( ).getSession( true )
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005