Re: [PHP] want to restart session after time out

2003-10-09 Thread Manisha Sathe
oh god, I was so confused, I was under impression that it is 30 mins in total, but it is 30 mins inactive time, >Keep in mind that this is 30 minutes of > inactivity, not 30 minutes total. The user can be logged in for hours, so > long as they are using the session. Just this sentence and it sol

Re: [PHP] want to restart session after time out

2003-10-09 Thread Evan Nemerson
On Wednesday 08 October 2003 11:23 pm, Manisha Sathe wrote: > thanks all, > > If session has to time out then in that case what shall i do in following > case ? Just have them log-in again. > > I have a login page, user logins and starts playing (it is a on line game > site), for each action (he

Re: [PHP] want to restart session after time out

2003-10-08 Thread Manisha Sathe
thanks all, If session has to time out then in that case what shall i do in following case ? I have a login page, user logins and starts playing (it is a on line game site), for each action (he tells something to do), i need to check whether he is login (i.e session on), if yes, then take all se

Re: [PHP] want to restart session after time out

2003-10-08 Thread Evan Nemerson
Comments inline On Wednesday 08 October 2003 10:23 pm, Chris Shiflett wrote: > --- Evan Nemerson <[EMAIL PROTECTED]> wrote: > > Well you can change the default from 30 mins to something larger, > > but that has security consequences... > > I am speaking to myself as much as anyone, but we should a

Re: [PHP] want to restart session after time out

2003-10-08 Thread Chris Shiflett
--- Evan Nemerson <[EMAIL PROTECTED]> wrote: > Well you can change the default from 30 mins to something larger, > but that has security consequences... I am speaking to myself as much as anyone, but we should all try to develop the habit of explaining any such "consequences" that we mention. To d

Re: [PHP] want to restart session after time out

2003-10-08 Thread Evan Nemerson
Well you can change the default from 30 mins to something larger, but that has security consequences... The problem with only closing when the user closes their browser is there's no way of knowing when that happens. Sessions are kind of a hack over HTTP, which is pretty much a stateless protoc

Re: [PHP] want to restart session after time out

2003-10-08 Thread Chris Shiflett
--- Manisha Sathe <[EMAIL PROTECTED]> wrote: > I want to make use of sessions. Very new to this part. I read a lot > about it. Now know how to register / start etc. > > I understand that session terminates after time out (specified in > php.ini file e.g 30 mins). But I do not want session to be >

[PHP] want to restart session after time out

2003-10-08 Thread Manisha Sathe
Hi, I want to make use of sessions. Very new to this part. I read a lot about it. Now know how to register / start etc. I understand that session terminates after time out (specified in php.ini file e.g 30 mins). But I do not want session to be terminated like this. I want to terminate session o