File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Persistent session and HttpSession... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Persistent session and HttpSession..." Watch "Persistent session and HttpSession..." New topic
Author

Persistent session and HttpSession...

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
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 :-)


humanum errare est.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'm moving this to The Servlets Forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Take a look at chapter 9 of Core Servlets by Marty Hall.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Persistent session and HttpSession...
 
Similar Threads
Session in Servlets.....Interesting
Session within session
Info about clustering
Firefox session reuse causing problems with backing beans
Maintaining an audit trail for all web pages visited in a Struts based application