Re: [PHP] Re: session expiration

2003-02-21 Thread Hans Prins
I think a database session would be of more use to you since you would have more control over the lifetime of the session etc "Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > From: "Hans Prins" <[EMAIL PROTECTED]> > > > > can you show

Re: [PHP] Re: session expiration

2003-02-21 Thread Lowell Allen
> From: "Hans Prins" <[EMAIL PROTECTED]> > > can you show us the PHP code that you use to manage your session? Sure. You say in a following post: > I am asking because if you are using: session_set_cookie_params(), the > effect of this function only lasts for the duration of the script. I'm not

[PHP] Re: session expiration

2003-02-21 Thread Hans Prins
I am asking because if you are using: session_set_cookie_params(), the effect of this function only lasts for the duration of the script. "Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm using sessions for authentication in a content managem

[PHP] Re: session expiration

2003-02-21 Thread Hans Prins
can you show us the PHP code that you use to manage your session? "Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm using sessions for authentication in a content management system and > experiencing rare but occasional problems with the sess

[PHP] Re: Session expiration detection and handling

2001-08-21 Thread Richard Lynch
On each page visit: Check their time-stamped (viz) session id to see if it's expired. if (expired) header("Location: expired.php"); UPDATE a record with their session id and a timestamp. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help