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
> 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
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
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
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
5 matches
Mail list logo