note 81840 added to function.session-set-cookie-params

From: Date: Sat, 15 Mar 2008 14:49:09 +0000
Subject: note 81840 added to function.session-set-cookie-params
Groups: php.notes 
Request: Send a blank email to php-notes+get-137087@lists.php.net to get a copy of this message
Further to "info at xyzsite dot ru" and William Leslie, Safari on OS X also doesn't honour cookies with an underscore in the subdomain. The workaround I've found is to specify the parent domain as the cookie domain -- instead of "bad_name.example.com", set the path to ".example.com"; it's suboptimal, but gets the job done. ---- Server IP: 216.235.15.211 Probable Submitter: 72.38.158.13 ---- Manual Page -- http://www.php.net/manual/en/function.session-set-cookie-params.php Edit -- https://master.php.net/note/edit/81840 Del: integrated -- https://master.php.net/note/delete/81840/integrated Del: useless -- https://master.php.net/note/delete/81840/useless Del: bad code -- https://master.php.net/note/delete/81840/bad+code Del: spam -- https://master.php.net/note/delete/81840/spam Del: non-english -- https://master.php.net/note/delete/81840/non-english Del: in docs -- https://master.php.net/note/delete/81840/in+docs Del: other reasons-- https://master.php.net/note/delete/81840 Reject -- https://master.php.net/note/reject/81840 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137087) next »