Welcome to WebmasterWorld Guest from 174.129.151.95

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

[PHP] unset dont work

   
10:57 am on Mar 22, 2002 (gmt 0)

10+ Year Member



Hi

I am having trouble to delete my sessions.
I have read the maunal and done this script


unset ($_SESSION['session_persId']);
unset ($_SESSION['session_rattighet']);

to delete the session.
The problem is that i doesn't :(

What have i done wrong?

/Grodan :)

1:09 pm on Mar 22, 2002 (gmt 0)

10+ Year Member



Ofcourse you need

session_start();

Here aswell,I forgot it... sorry :(

But it solved it! :)

/Grodan

2:10 pm on Mar 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Glad to hear it Grodan ;)