Re: [PHP4BETA] Can´t get sessions to work

From: Date: Tue, 28 Mar 2000 16:52:24 +0000
Subject: Re: [PHP4BETA] Can´t get sessions to work
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12751@lists.php.net to get a copy of this message
On Tue, 28 Mar 2000, "Gustafson, Mårten" wrote: > Hi. > > I´m running Debian/Slink with Apache 1.3.12 and PHP4 RC1 + Optimizer b2 and > I can´t get sessions to work. > I´m running with register_globals set to off and track_vars set to on. And > whatever I do PHP doesn´t register my session variable. I´m trying to > register $session which is an array with some key/value pairs. At most I´ve > got this into my sess_blahblah file: > !session| > > Does anyone know how to solve this WITHOUT setting regsiter globals to on? When register_globals is off and track_vars is on, all the session variables are expected to reside in $HTTP_SESSION_VARS[]. That's where they are registered from as well. -Andrei * George Orwell was an optimist. *

« previous php.version4 (#12751) next »