| Posted by Oli Filth on 06/26/05 13:53 
flintridgeparkenfarker vonkerschnauzerheiden said the following on 26/06/2005 05:32:
 > When I pass the id to another page in the URL the target page uses the
 > correct session id, but if I use the "Back" button then session_start()
 > creates a new session and id. I don't want a new session created if the user
 > and the session is the same.
 >
 
 This is one of the many problems you get when you you pass session
 information in URLs rather than in a session cookie.
 
 Simple solution: use cookies to pass session IDs. You need to disable
 session.use_trans_id and/or session.use_only_cookies (see
 http://www.php.net/manual/ref.session.php).
 
 
 --
 Oli
  Navigation: [Reply to this message] |