Re: Cookies- peanut butter or chocolate??
| From: | David Nicholson | Date: | Thu, 19 Jun 2003 20:18:23 +0000 |
| Subject: | Re: Cookies- peanut butter or chocolate?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152234@lists.php.net to get a copy of this message | ||
Hello,
This is a reply to an e-mail that you wrote on Thu, 19 Jun 2003 at 21:13,
lines prefixed by '>' were originally written by you.
> Yes, this question is about PHP cookies.
> Two questions:
> 1. How do you setup a cookie that will not expire??
You can't, but you can use an expiry date in the distant future.
> 2. How do you put 2 items that you want to save in the cookie and
> retrieve??
Have two seperate cookies, one for each value.
All the best,
David.
--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
http://www.djnicholson.com/
QuizSender.com - How well do your friends actually know you?
http://www.quizsender.com/
(developed entirely in PHP)