note 93818 added to function.setrawcookie

From: Date: Thu, 01 Oct 2009 08:51:12 +0000
Subject: note 93818 added to function.setrawcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-161194@lists.php.net to get a copy of this message
After having several problems with this cookie thing, I'm using base64_encode on the data I put into a cookie, so I can avoid problems, I had before. I tried to set up cookie with data created by serialize() from a PHP array, but it did not work to be able to get it back, after I modified it to use value of base64_encode(serialize(...)) to set up the cookie, and unserialize(base64_decode(..)) to get back the value, everything started to work. ---- Server IP: 92.43.200.200 Probable Submitter: 213.163.0.181 ---- Manual Page -- http://www.php.net/manual/en/function.setrawcookie.php Edit -- https://master.php.net/note/edit/93818 Del: integrated -- https://master.php.net/note/delete/93818/integrated Del: useless -- https://master.php.net/note/delete/93818/useless Del: bad code -- https://master.php.net/note/delete/93818/bad+code Del: spam -- https://master.php.net/note/delete/93818/spam Del: non-english -- https://master.php.net/note/delete/93818/non-english Del: in docs -- https://master.php.net/note/delete/93818/in+docs Del: other reasons-- https://master.php.net/note/delete/93818 Reject -- https://master.php.net/note/reject/93818 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161194) next »