caucho
Resin 1.1
FAQ
Reference
JavaDoc
Demo
Java Tutorial

Getting Started
Configuration
Servlet
JSP
XTP/XSL
JavaScript
JS Library

Core Library
File Library
Servlet Library
Database Library
XML Library

PageContext
Request
Response
Session
Application
 Session

The Session object is mostly a reflection from the Servlet interface with the following changes:

The JSP session object is a Session object.

Session
creationTime Time in milliseconds when the session was created. Read-only.
id The session's unique identifier. Read-only.
lastAccessedTime The session's last accessed time. Read-only.
getValue(name) Returns the value of the session variable name.
getValueNames() Returns a string array of the session variable names.
getValueKeys() Returns an enumeration of the session variable names.
putValue(name, value) Sets value as the value of the session variable name.
removeValue(name) Removes the session variable name.
isNew() True if the session is new.
invalidate() Invalidates the current session.

Session Resin 1.0

creationTime

Time in milliseconds when the session was created. Read-only.

id

The session's unique identifier. Read-only.

lastAccessedTime

The session's last accessed time. Read-only.

getValue(name)

Returns the value of the session variable name. Applications can store arbitrary data in the session variables.

getValueNames()

Returns a string array of the session variable names.

getValueKeys()

Resin 1.0

Returns an enumeration of the session variable names.

putValue(name, value)

Sets value as the value of the session variable name.

removeValue(name)

Removes the session variable name.

isNew()

True if the session is new. The session is considered new if the client has never returned a session cookie.

invalidate()

Invalidates the current session.

Response   Application
Copyright © 1998-2000 Caucho Technology. All rights reserved.
Last modified: Fri, 31 Mar 2000 18:55:46 -0800 (PST)