help with a session

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chris12295
Forum Contributor
Posts: 113
Joined: Sun Jun 09, 2002 10:28 pm
Location: USA
Contact:

help with a session

Post 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? :?
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

are you useing this:

session_start();
session_destroy(); ?

or just

session_destroy();
?
chris12295
Forum Contributor
Posts: 113
Joined: Sun Jun 09, 2002 10:28 pm
Location: USA
Contact:

Post by chris12295 »

i have session_start();
before any outpt
and session_destroy(); after that
Post Reply