what is the session equivalent to setcookie?
| From: | Ross | Date: | Sat, 21 Jan 2006 11:17:20 +0000 |
| Subject: | what is the session equivalent to setcookie? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229007@lists.php.net to get a copy of this message | ||
I have a cookie
setcookie("cookie[$food]", "$new $name");
I want to change to a session..
Is it..
session_register("cookie[$food]", "$new $name");