Hi,

    I want to redirect my users to a session expired page and not directly
to
a blank login page based on wheter this is just a gc colected session.
    In case the user goes to sleep but leaves the browser open and then in
the
morning he comes back and does something the browser will send the
session id he got before sleeping.


Catalin,


"Jakes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What do you need this for.? You session is only suppose to last for one
> browser session
>
> "Catalin Trifu" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >             Hi,
> >
> >     Here is the problem:
> >
> >     The session gc runs and deletes the session data. This is good,
> > but calling session_start in PHP obviously creates a new session.
> >
> >     How can I know if the session was created after an old one was
> > deleted because gc has invalidated it or it is a completely fresh
session,
> > from let's say a fresh browser window.
> >
> >     I googled for it and looked in the docs but I found nothing on this
> > matter.
> >
> > Thanks in advance,
> > Catalin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to