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.

http://www.php.net/manual/en/ref.session.php

You should use

$_SESSION['myVar'] = $myVar;




----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


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

Reply via email to