• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistent session and HttpSession...

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Requirement:
I need a persistent session, such that after a user has logged in, he can do searches on our databases, but when the user logs out or closes the client browser, the "logged in" state expires ie he cannot do searches anymore until he logs in once again.
What I have got now:
apache2+mod_ssl collaborating with TC4, .htaccess is enabled on apache2.
applet, a2s communication, servlet to query the database.
Please point me in the right direction:
Before I dive in, is HttpSession, URL rewrite and cookies the things that I need to look into in order to implement my requirement ?
TIA :-)
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to The Servlets Forum...
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at chapter 9 of Core Servlets by Marty Hall.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic