homepage Welcome to WebmasterWorld Guest from 54.204.215.209
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
[PHP] unset dont work
GrodanBoll




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

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 :)

 

GrodanBoll




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

Ofcourse you need

session_start();

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

But it solved it! :)

/Grodan

sugarkane




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

Glad to hear it Grodan ;)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved