Hi,

    Thanks for the reply.
    The method you suggest does not work. Have you tested it somewhere ?

Catalin


"Seba" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "in the first page of your website, or when you connect for the firs
> time to it"
>
> $_SESSION['first_session_value'] = session_id();
>
> "others pages"
> if($_SESSION['first_session_value'] != session_id()){
> echo "The session has a new value";
> }
>
>
>
> Seba
>
>
> Il mar, 2004-02-24 alle 15:16, Jakes ha scritto:
> > 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