Re: PHP Sessions
| From: | Tim Thorburn | Date: | Tue, 21 Jan 2003 19:03:27 +0000 |
| Subject: | Re: PHP Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132496@lists.php.net to get a copy of this message | ||
Ok, here's what I've found:
register_globals is ON
however
register_argc_argv is OFF on the server with problems.
The server is a Sun Cobalt server running some form of Linux.
My local machine that I work on is WinXP Pro using PHP 4.3.0, on this machine I've got register_globals set to ON and register_argc_argv ON as well ... I'm not entirely sure what register_argc_argv does, but could this be the problem?
At 09:41 PM 1/21/2003 +1100, Justin French wrote:
on 21/01/03 9:25 PM, Tim Thorburn (immortal@nwconx.net) wrote: There is some discussion as to whether my globals are on or not ... I am using session_register to name my sessions, and then the global command later on on the individual pages to remember which session it is we're looking for. No no no... check the output of phpinfo(), or check your php.ini file to see if the directive "register_globals" has a value of ON or OFF. This is more than likely the problem I think. Also check the same value on your local machine. Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php