The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Please help - stay logged in code
Goo
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 02:56 AM