On Friday, April 26, 2002, at 03:16  PM, Padraig Kitterick wrote:

> This is annoying as everyhwhere I read about sessions, Im told that if
> register_globals is off, I shouldnt use session_register(), all I need 
> to do
> is:
> $HTTP_SESSION_VARS["myVar"] = $myVar;

This is not what the documentation says.


You should use

$_SESSION['myVar'] = $myVar;


Erik Price
Web Developer Temp
Media Lab, H.H. Brown

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to