jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Session id Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Session id" Watch "Session id" New topic

Session id

Amarjyoti Das

Joined: Mar 18, 2002
Posts: 16
Where does session information get stored? For example, please consider the following statement in a JSP page.
<%= session.getId() %>
Where the ID, max inactive interval or other session related information are stored? Is it on a client side cookie?
Thank you,
Amar Das
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

The specific details for the sesison are are stored on the server. The client sends the sessionID with every query and the server uses this to associate the session with that person.
That said, the session is stored as a Cookie, and there is other information that can be stored with Cookies such as timeouts etc.
I agree. Here's the link: http://aspose.com/file-tools
subject: Session id
It's not a secret anymore!