jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes Session Storage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session Storage" Watch "Session Storage" New topic
Author

Session Storage

Soma Sekhar
Greenhorn

Joined: Nov 26, 2001
Posts: 5
How does an application server maintain / store / save the session information?
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
"jasose",
Thanks for participating here at the Ranch. However, the name you are using does not comply with our naming convention described at http://www.javaranch.com/name.jsp . Please log in with a new name, which meets these requirements.
You can change your name here.
Thanks.
Sean
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
How does an application server maintain / store / save the session information?

The designer of a server is free to do this any way he/she likes. Typically the contents of a session is stored in memory but since every object stored in a session is supposed to be serializable, it can be written out to disk or to a database.
JRun uses a "sessions" directory under WEB-INF to store serialized sessions, using the session ID as a file name.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session Storage