Hi,
Dummy Q. When I create a HttpSession objects, where is it stored? On the server? (If yes, which dir? I have Tomcat 4)
I get mixed answers here, telling me they are stored in cookies on the client side, or are implemented using URL re-writes. Other tell me they are held in the server.
What's the real scoop plz. (Any settings in web.xml that will point me to these suckers?)
Thanks
Newbie Jimmy Gee
-
Session objects -- Where are they stored? (2 messages)
- Posted by: JIMMY GEE
- Posted on: November 19 2004 19:38 EST
Threaded Messages (2)
- Session objects -- Where are they stored? by Nicolas Dobler on November 22 2004 06:43 EST
- in memory by Joe Fouad on November 27 2004 15:00 EST
-
Session objects -- Where are they stored?[ Go to top ]
- Posted by: Nicolas Dobler
- Posted on: November 22 2004 06:43 EST
- in response to JIMMY GEE
The session id may be stored in a cookie or held by url re-writes, session data is stored on the server.
I think it's kept in memory. I don't think there is a mechanism for writing session data to disk or to db.
Hope it helps! -
in memory[ Go to top ]
- Posted by: Joe Fouad
- Posted on: November 27 2004 15:00 EST
- in response to JIMMY GEE
they r stored as server objects with the reference u get,but if u wanna store it ,ok..go ahead and serialize them
actually this mechanism typically used for inhouse session replication as it is quick ,simple and ....it works