url: page.php?sid=session_id();
php code:
if ($_REQUEST['sid'])
session_id($_REQUEST['sid']);
session_start();
Question:
im trying to access php session with passing the id, so it continues to login and returns data of the user. session id is successfully transfered, but session getting reset each time, emptying the old session and returning it, which means user gets log out.
any idea why its resetting the session?