note 94621 added to function.setcookie

From: Date: Sun, 15 Nov 2009 10:07:31 +0000
Subject: note 94621 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-162921@lists.php.net to get a copy of this message
@Eric: A better idea to avoid storing data in cookies is to pass a random key as a parameter. This key is used to reference the data held in a database record. This means that before the form is called, a database record with that key is created/updated to store that data. On receipt of the call with the key, the PHP routine can extract the data from the database. ---- Server IP: 87.124.86.46 Probable Submitter: 89.240.20.36 (proxied: 89.240.20.36) ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- https://master.php.net/note/edit/94621 Del: integrated -- https://master.php.net/note/delete/94621/integrated Del: useless -- https://master.php.net/note/delete/94621/useless Del: bad code -- https://master.php.net/note/delete/94621/bad+code Del: spam -- https://master.php.net/note/delete/94621/spam Del: non-english -- https://master.php.net/note/delete/94621/non-english Del: in docs -- https://master.php.net/note/delete/94621/in+docs Del: other reasons-- https://master.php.net/note/delete/94621 Reject -- https://master.php.net/note/reject/94621 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162921) next »