note 93820 added to function.setrawcookie

From: Date: Thu, 01 Oct 2009 08:53:08 +0000
Subject: note 93820 added to function.setrawcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-161196@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/93820 Del: integrated -- https://master.php.net/note/delete/93820/integrated Del: useless -- https://master.php.net/note/delete/93820/useless Del: bad code -- https://master.php.net/note/delete/93820/bad+code Del: spam -- https://master.php.net/note/delete/93820/spam Del: non-english -- https://master.php.net/note/delete/93820/non-english Del: in docs -- https://master.php.net/note/delete/93820/in+docs Del: other reasons-- https://master.php.net/note/delete/93820 Reject -- https://master.php.net/note/reject/93820 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161196) next »