Re: Sessions problem

From: Date: Tue, 01 Aug 2000 01:08:29 +0000
Subject: Re: Sessions problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9326@lists.php.net to get a copy of this message
Check your php.ini file and see if you have session.referer_check on; and if so, change it so it's not on. There seems to be a bug there. From: "Colin Rundel" <rundel@its.caltech.edu> To: <php-general@lists.php.net> Date: Sun, 30 Jul 2000 10:12:14 -0700 Subject: [PHP] Sessions problem I'm having an odd sessions problem, I can create a session without any problem but when I attempt to register a variable the value gets dumped. I've checked the session file and the registered variable is there but it does not have any assigned value. For example: <?php session_start(); $foo++; session_register("foo"); echo "Foo is: ".$foo; ?> Results in a session file: !foo| This has got me totally stumped and any help would be greatly appreciated. If it helps I'm using PHP 4.0.1pl2 on a Win2k box with IIS 5.0 and the default config for sessions in php.ini. thank, -Colin

« previous php.general (#9326) next »