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
posted
0
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
posted
0
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