i\'ve configured wamp in my system, and am doing the development cum testing in this local environment. i was working on the logout functionality, and happened to notice tha
You must regenerate the session id using function session_regenerate_id(). Without that, the session ID would be the same between page refreshes.
session_regenerate_id()