Jump to content

can't delete session_id


jeff5656

Recommended Posts

when user logs in they get $this_session = session_id();

 

When they log out I do : session_destroy();

 

But when they log back in, the session_id() value is the same as the previous log-in!

 

How do I reset this to be unique, and why doesn't session destroy do that?

 

More: http://php.net/manual/en/function.session-regenerate-id.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.