note 101207 added to reserved.variables.session

From: Date: Thu, 02 Dec 2010 09:28:43 +0000
Subject: note 101207 added to reserved.variables.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-174553@lists.php.net to get a copy of this message
i have a website that uses a login system and stores the credentials in $_SESSION. if you access the website using www.mywebsite.com and login, and afterwards remove the www from the url(leaving mywebsite.com at the address bar) then the session is lost. is there a solution to that? ---- Server IP: 69.147.83.197 Probable Submitter: 82.102.77.31 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.session.php Edit -- https://master.php.net/note/edit/101207 Del: integrated -- https://master.php.net/note/delete/101207/integrated Del: useless -- https://master.php.net/note/delete/101207/useless Del: bad code -- https://master.php.net/note/delete/101207/bad+code Del: spam -- https://master.php.net/note/delete/101207/spam Del: non-english -- https://master.php.net/note/delete/101207/non-english Del: in docs -- https://master.php.net/note/delete/101207/in+docs Del: other reasons-- https://master.php.net/note/delete/101207 Reject -- https://master.php.net/note/reject/101207 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174553) next »