RE: [PHP] How to handle so called expired sessions??

2002-12-03 Thread John W. Holmes
Ive just been getting myself deep into using sessions. Sessions are working as it should except for one condition. Say I log into the site, and the session is started, and I don't do anything for the next 30 mins, then go back to the site. Im temporarily logged out, but because the session

Re[2]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 4:01:07 AM, you wrote: Ive just been getting myself deep into using sessions. Sessions are working as it should except for one condition. Say I log into the site, and the session is started, and I don't do anything for the next 30 mins, then go back to the

Re: Re[2]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread ed
I've noticed this as well with the things I've been doing for sessions. They way I understand it is that the server side session storing values is supposed to expire after a certain lenght of time. I currently have this at default so I think it should expire after 24 mins. The cleanup is done

Re: Re[2]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread Stephen
-gen' [EMAIL PROTECTED] Sent: Tuesday, December 03, 2002 9:52 PM Subject: Re[2]: [PHP] How to handle so called expired sessions?? Hi, Wednesday, December 4, 2002, 4:01:07 AM, you wrote: Ive just been getting myself deep into using sessions. Sessions are working as it should except for one

RE: Re[2]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread John W. Holmes
I've noticed this as well with the things I've been doing for sessions. They way I understand it is that the server side session storing values is supposed to expire after a certain lenght of time. I currently have this at default so I think it should expire after 24 mins. The cleanup is done

RE: Re[2]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread John W. Holmes
Wednesday, December 4, 2002, 4:01:07 AM, you wrote: Ive just been getting myself deep into using sessions. Sessions are working as it should except for one condition. Say I log into the site, and the session is started, and I don't do anything for the next 30 mins, then go back to the

Re[4]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread Tom Rogers
. Holmes [EMAIL PROTECTED] S Cc: 'Gerard Samuel' [EMAIL PROTECTED]; 'php-gen' S [EMAIL PROTECTED] S Sent: Tuesday, December 03, 2002 9:52 PM S Subject: Re[2]: [PHP] How to handle so called expired sessions?? Hi, Wednesday, December 4, 2002, 4:01:07 AM, you wrote: Ive just been getting myself

Re[4]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 1:33:03 PM, you wrote: No question :) It's just that this is what the original question was about and why I suggested doing his own sesssion timeout check as the deleting proccess is too unreliable to depend on for timeout handling. PHP will quite happily return

RE: Re[4]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread John W. Holmes
No question :) It's just that this is what the original question was about and why I suggested doing his own sesssion timeout check as the deleting proccess is too unreliable to depend on for timeout handling. PHP will quite happily return stale data which could be bad in a login type of

Re[6]: [PHP] How to handle so called expired sessions??

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 1:59:11 PM, you wrote: JWH Okay. I think I thought you were the original poster. How do you know JWH it's returning stale data, though? If the cookie is valid, and there JWH is still a session file (or data in memory), then why is it stale or JWH expired. Maybe

Re: [PHP] How to handle so called expired sessions??

2002-12-03 Thread Gerard Samuel
I was the original poster to this topic. Quite suprised it continued.. I have my sessions stored in a database, thus I thought the problem was there, but have come to realise, that is how sessions behave naturally. I originally thought, that the expired session garbage collection dumps stale

[PHP] How to handle so called expired sessions??

2002-12-02 Thread Gerard Samuel
Ive just been getting myself deep into using sessions. Sessions are working as it should except for one condition. Say I log into the site, and the session is started, and I don't do anything for the next 30 mins, then go back to the site. Im temporarily logged out, but because the session cookie

Re: [PHP] How to handle so called expired sessions??

2002-12-02 Thread Tom Rogers
Hi, Tuesday, December 3, 2002, 1:57:21 PM, you wrote: GS Ive just been getting myself deep into using sessions. GS Sessions are working as it should except for one condition. GS Say I log into the site, and the session is started, and I don't do GS anything for the next 30 mins, then go back to

Re: [PHP] How to handle so called expired sessions??

2002-12-02 Thread Gerard Samuel
I had something similar in mind. Thanks for your input... Tom Rogers wrote: Hi, Tuesday, December 3, 2002, 1:57:21 PM, you wrote: GS Ive just been getting myself deep into using sessions. GS Sessions are working as it should except for one condition. GS Say I log into the site, and the