I have troubles with getting new session id... it stays the same
if ($logoff == true) { //the user wants to logoff
session_destroy();
}
but then nothing happens....
when user goes further to another page I'm starting session
session_start();
but still I have the same SESSION_ID
What am I doing wrong or show me some code that logoffs users and starts new sessions after logging off
THX