RE: [PHP] Cookies- peanut butter or chocolate??
| From: | Henning Sittler | Date: | Thu, 19 Jun 2003 20:20:01 +0000 |
| Subject: | RE: [PHP] Cookies- peanut butter or chocolate?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152237@lists.php.net to get a copy of this message | ||
1. Set a big value in seconds for the time argument
2. Send 2 cookies
OR
Create one string value containing the two values you want to save,
seperated by a a sepcific character of your choice and send this new value
as your cookie. Remember to parse the cookie's value when you request it in
your script, so that you determine the two seperatevalues actually stored
there.
Henning Sittler
www.inscriber.com
-----Original Message-----
From: Sparky Kopetzky [mailto:sparkyk@blackmesa-isp.net]
Sent: Thursday, June 19, 2003 4:10 PM
To: PHP General
Subject: [PHP] Cookies- peanut butter or chocolate??
Yes, this question is about PHP cookies.
Two questions:
1. How do you setup a cookie that will not expire??
2. How do you put 2 items that you want to save in the cookie and retrieve??
Examples in the PHP manual only show how to work with a single value.
Thanks!
Robin E. Kopetzky
Black Mesa Computers/Internet Services
www.blackmesa-isp.net