Re: [PHP] what is the session equivalent to setcookie?

2006-01-21 Thread comex
> session_register("cookie[$food]", "$new $name"); $_SESSION['cookie'][$food] = "$new $name"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] what is the session equivalent to setcookie?

2006-01-21 Thread Ross
I have a cookie setcookie("cookie[$food]", "$new $name"); I want to change to a session.. Is it.. session_register("cookie[$food]", "$new $name"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php