Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in
i have a log in script that initiates a PHP Session
I have a file that purely echoes PHPSESSID so in can check if a session is active.
I have another file that purely contains session_destroy();
log in script works fine and starts session. (proved by sess id echoeing file)
when i try to destroy session i get
Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session
which makes no sense because if there was no session active then i would have no session id.
after running this the session is still running,
any ideas or tips?