Hey all.

Strange problem here.

I'm running on apache 1.3.26 & php 4.2.3.

In a test page, test1.php, I set $_SESSION['checker'] = 1;

In another test page, test2.php, I unset($_SESSION['checker']);

When I print_r($_SESSION) in test1.php, $_SESSION['checker'] is still set &
still equals 1!

I've tried session_unregister($checker),
session_unregister($_SESSION['checker']), unset($checker), etc. -- none of
them unset this particular session var.  Very strange behavior.
Interestingly, I can set $_SESSION['checker'] = 0 (instead of 1) in
test2.php & that works fine when I print_r($_SESSION) in test1.php.

Any clues as to why this might be happening?

FYI, register globals is set to ON.

Let me know if you need further details.....

TIA,

--Noah



--

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

Reply via email to