note 74289 added to ref.session

From: Date: Tue, 03 Apr 2007 20:11:11 +0000
Subject: note 74289 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-125059@lists.php.net to get a copy of this message
'session.cookie_domain' should be set to empty string for all local domain names, not only for 'localhost' (but should not be empty for local IP addresses): <?php ini_set('session.cookie_domain', (strpos($_SERVER['HTTP_HOST'],'.') !== false) ? $_SERVER['HTTP_HOST'] : ''); ?> ---- Server IP: 83.64.128.68 Probable Submitter: 83.7.237.119 ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- https://master.php.net/note/edit/74289 Del: integrated -- https://master.php.net/note/delete/74289/integrated Del: useless -- https://master.php.net/note/delete/74289/useless Del: bad code -- https://master.php.net/note/delete/74289/bad+code Del: spam -- https://master.php.net/note/delete/74289/spam Del: non-english -- https://master.php.net/note/delete/74289/non-english Del: in docs -- https://master.php.net/note/delete/74289/in+docs Del: other reasons-- https://master.php.net/note/delete/74289 Reject -- https://master.php.net/note/reject/74289 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125059) next »