File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session Storage" Watch "Session Storage" New topic

Session Storage

Soma Sekhar

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

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

Joined: Mar 22, 2000
Posts: 12760
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.
I agree. Here's the link:
subject: Session Storage
Similar Threads
Alternative to Cookie?
Field set in action method coming null in JSP
Session problem in NetBeans
Advice on persisting complex state across multiple server trips