note 88826 added to session.idpassing

From: Date: Tue, 10 Feb 2009 02:49:55 +0000
Subject: note 88826 added to session.idpassing
Groups: php.notes 
Request: Send a blank email to php-notes+get-150435@lists.php.net to get a copy of this message
When you generate URLs yourself using the SID variable, it must come first in the URL parameter list. For example, if SID expands to "mysession=123" then this does NOT work: file.php?var1=value&mysession=123 The SID must come first: file.php?mysession=123&var1=value If the SID does not come first then session_start() does not recognise it and it creates a new session instead of loading the old one. ---- Server IP: 117.104.160.194 Probable Submitter: 130.102.0.177 ---- Manual Page -- http://www.php.net/manual/en/session.idpassing.php Edit -- https://master.php.net/note/edit/88826 Del: integrated -- https://master.php.net/note/delete/88826/integrated Del: useless -- https://master.php.net/note/delete/88826/useless Del: bad code -- https://master.php.net/note/delete/88826/bad+code Del: spam -- https://master.php.net/note/delete/88826/spam Del: non-english -- https://master.php.net/note/delete/88826/non-english Del: in docs -- https://master.php.net/note/delete/88826/in+docs Del: other reasons-- https://master.php.net/note/delete/88826 Reject -- https://master.php.net/note/reject/88826 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#150435) next »