Resin 1.1
FAQ
Reference
JavaDoc
Demo
Java Tutorial
Getting Started
Configuration
Topics
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: getValueKeys returns an enumeration. 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: Mon, 03 Apr 2000 11:20:13 -0700 (PDT)