[H-GEN] PHP Question

kris at lunadawn.net kris at lunadawn.net
Wed Jun 4 13:53:28 EDT 2003


Hi,

I'm getting a strange error when using PHP session and hopefully someone
here can help me find out why it is doing it.

I have a functions called login($username,$password) and logout().

I login fine, it sets the session variables correctly. I then logout
with -
function logout () {
        unset($_SESSION['authdata']);
        print_r($_SESSION['authdata']);
        return true;
        }

The print_r returns nothing. I then go back to log in and somehow the
$_SESSION['authdata'] is now set.

Any ideas would be greatly appreciated.

Kris Amy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20030605/1c651357/attachment.sig>


More information about the General mailing list