The problem I’ve got is that I’m calling a php script on my server via XMLHttpRequest from a page that has already a session cookie set. The problem is that the script called by my page creates a new session_id for each call and does not use the existing one to store, the information I want to set, in it. Any solutions?
Best regards, pbcoder
You’re probably regenerating the session in your server side file …. can you post the part that checks the session here ? You can set a specific session id using session_id ( http://php.net/manual/en/function.session-id.php) in PHP.
set SID var in your XHR