Re: best way to use session vars?

From: Date: Sat, 18 Oct 2003 23:54:01 +0000
Subject: Re: best way to use session vars?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166628@lists.php.net to get a copy of this message
* Thus wrote David T-G (davidtg-php@justpickone.org): > Hi, all -- > > Well, now that I have to change my code around, I suppose I should learn > the best way, if there is one in particular, to manage sessions. > > Should I use $_SESSION for everything or should I use session_start and > session_register and friends instead? Is there a clear win with either > one? $_SESSION is the proper way to do it (with globals off), you will still need to call session_start() on each page. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/

« previous php.general (#166628) next »