This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistent session

 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Tomcat support persistent session like Websphere do?
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David Ulicny:
Does Tomcat support persistent session like Websphere do?


All servlet containers that implement the Servlet 2.2 API must provide for session tracking through either the use of cookies or through URL rewriting. All Tomcat servlet containers support session tracking.
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't mean session tracking, but session persistence.
http://www-306.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/06061105.html

Something like this one.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Somkiat Puisungnoen:


All servlet containers that implement the Servlet 2.2 API must provide for session tracking through either the use of cookies or through URL rewriting. All Tomcat servlet containers support session tracking.


Pui,
I think Persistent Session that the original poster is talking about is different from the session tracking in your post... Persistent Session in WebSphere needs some kinda DataSource and Database to store the session persistently so that it can be retreived later...

Just my 2 cents...
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right Ko Ko, that's exactly what I mean.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.jguru.com/faq/view.jsp?EID=212858
 
Budi Kurniawan
author
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 4 and 5 do swap session objects to secondary storage such as a database. You can configure Tomcat to do so. Internally, Tomcat employs a background thread that checks how old a session object is, whether a session needs to be invalidated, etc. The module that manages session objects is called Manager (discussed in Chapter 9: Session Management).
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Budi Kurniawan:
Tomcat 4 and 5 do swap session objects to secondary storage such as a database. You can configure Tomcat to do so. Internally, Tomcat employs a background thread that checks how old a session object is, whether a session needs to be invalidated, etc. The module that manages session objects is called Manager (discussed in Chapter 9: Session Management).


Manager is like SessionListener or not ??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic