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:[EMAIL PROTECTED]
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to