Servertec Session
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
RequestDispatcher
Response
Session
getAttribute( )
getAttributeNames( )
getCreationTime( )
getId( )
getLast
AccessedTime( )

getTimeout( )
invalidate( )
isNew( )
removeAttribute( )
setAttribute( )
setTimeout( )

SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable
Samples
Legal
Contact Us

 

Methods used to access any session information.

Method Description
getAttribute( ) Returns the value associated with the specified Session' attribute name.
getAttributeNames( ) Returns an Enumeration containing the names of the specified Session's attributes.
getCreationTime( ) Returns the time when the specified Session was created.
getId( ) Returns the unique identified associated with the specified Session.
getLastAccessedTime( ) Returns the time when the specified Session was last accessed.
getTimeout( ) Returns the number of seconds that the specified Session remains valid without being accessed.
invalidate( ) Invalidates the specified session and unbinds any objects bound to it.
isNew( ) Returns whether the specified Session is new.
removeAttribute( ) Removes the named attribute and associated object from the specified Session.
setAttribute( ) Binds the given object and attribute name with the specified Session.
setTimeout( ) Sets the number of seconds that the specified Session remains valid without being accessed.

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005