Please help - stay logged in code |
Please help - stay logged in code |
Goo |
Oct 22 2008, 04:35 PM
Post
#1
|
Newbie Group: Members Posts: 13 Joined: 5-October 08 Member No.: 6,818 |
Hey
I am making a website in Sun Java Studio Creator, ect.. If a user logs into the site and just closes his browser and returns in a few hours, he must still be logged in. Only when you select the logout option, you must logout. Where can I find some Java code to help solve this problem? Thanx |
Darin McGrew |
Oct 22 2008, 04:45 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Look at the code that is setting your cookies. Change the cookies so they persist between browser sessions (assuming the browser is configured to allow persistent cookies, of course).
|
Lo-Fi Version | Time is now: 25th April 2024 - 02:56 AM |