Page 1 of 1

help with a session

Posted: Sat Jun 15, 2002 9:14 am
by chris12295
I cant destroy sessions. I have a script, it creates a session, (i saw it createed in my TEMP folder), it will unset variables, but it wont destroy it. Is there a special directive that must be set in php.ini or is this some sort of security thing, whats going on? :?

Posted: Sat Jun 15, 2002 11:06 am
by qads
are you useing this:

session_start();
session_destroy(); ?

or just

session_destroy();
?

Posted: Sat Jun 15, 2002 2:06 pm
by chris12295
i have session_start();
before any outpt
and session_destroy(); after that