basic sessions...
| From: | Stephen Edmonds | Date: | Fri, 07 Mar 2003 15:22:54 +0000 |
| Subject: | basic sessions... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18897@lists.php.net to get a copy of this message | ||
> ----- Original Message -----
> From: "Radovan Radic" <rasho@ving.co.yu>
> To: <php-windows@lists.php.net>
> Sent: Friday, March 07, 2003 2:40 PM
> Subject: Re: [PHP-WIN] basic sessions...
>
>
> > >
> > > You need a session_start() on every page that needs to examine/update
> > > $_SESSION[] ...
> > >
> > > Rich
> >
> > BTW, why is autostart_session default to off in php.ini ? Does it mean
it
> is
> > not good that session autostarts on every page?
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
Normally there is no point to starting a session on every page... it depends
on what your site is designed to do! Plus, it can become resource intensive
if you needlessly start sessions when they aren't used... Nothing to do with
being rude ;-)
Stephen