RE: [PHP] Session with microtime
| From: | Tim | Date: | Sat, 21 Apr 2007 08:56:14 +0000 |
| Subject: | RE: [PHP] Session with microtime | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253408@lists.php.net to get a copy of this message | ||
> -----Message d'origine-----
> De : Matthew Powell [mailto:mpowell@kshs.org]
> Envoyé : vendredi 20 avril 2007 18:57
> À : php-general@lists.php.net
> Objet : Re: [PHP] Session with microtime
>
> Panquekas wrote:
> > On 20/04/07, Panquekas <panquekas@gmail.com> wrote:
>
> <snip>
>
> > I'm sorry, my mistake. What I tried to say is that the
> session_start()
> > was on the top of the page, and the if( ) block was after
> that and the
> > login script was even after the if( ), so the first thing
> to ran was
> > the
> > session_start() then the if( ) block and after that the
> login script
> > registering the $_SESSION's. I moved the login script to
> the middle of
> > the
> > session_start() and the if( ).
>
> <snip>
>
> Am I the only one that uses 'session.auto_start = 1'?
>
> It saves me from worrying about that type of problem.
>
I like control over what goes on ;)
Tim