note 53970 rejected from function.setcookie by betz

From: Date: Sun, 19 Jun 2005 12:57:17 +0000
Subject: note 53970 rejected from function.setcookie by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-90650@lists.php.net to get a copy of this message
Note Submitter: bubazoo at yahoo dot com ---- I am confused about something, when you want to save $_SESSION data to a cookie, don't you use session_register? or do you have to store $_SESSION['stuff'] = $variable then setcookie('$variable') ? I don't understand. someone told me session_register already stores the session into a cookie, so I am confused on that part.

« previous php.notes (#90650) next »