aspose file tools
The moose likes Servlets and the fly likes Session Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Session Problem" Watch "Session Problem" New topic
Author

Session Problem

Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
Hi
If user log into the site after some time he will close the browser without doing the log out,
when agagin he open the site our system will automatically login to this user

somthing like javaranch site , when i will login and if i will exit without the logout and again try to open this site then there is no need to login again

i want to implemetn this.......
Shweta Rao
Greenhorn

Joined: Jul 30, 2004
Posts: 5
Usually web pages set a cookie to maintain such logins in the client's computer. The cookie will be set until user logout. If the user closes the window without logout then when next time he access the page, the cokkie will be checked and the user will be logged in automatically.
N Rao
Greenhorn

Joined: May 17, 2004
Posts: 14
Hi,
You can choose any of the three possible options to track session using the HttpSession API.
1. Using Cookies
2. URL Rewriting
3. Using Hidden fields

For a detailed overview...please check Session Tracking

Hope this helps.

Good luck,
Rao
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Problem
 
Similar Threads
How to login on my site when user is already logged in in Yahoo mail ?
Spring mvc-Destroy Session after closing the browser?
About Server/client Application
How to block one user to login from two different machines at same time
enable web access from email url link