Re: C is for Cookies
| From: | (Richard Lynch) | Date: | Fri, 09 Jun 2000 22:47:07 +0000 |
| Subject: | Re: C is for Cookies | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1486@lists.php.net to get a copy of this message | ||
In article <B562B368.1D11%steve@bakeacake.com>, steve@bakeacake.com
(Steve) wrote:
> I was wondering how I would get the 'directory' path from a Cookie?
>
> I can get the 'value' form the cookie, but not the path.
You have to know the path to get the cookie...
Or just store them all under '/' and they'll be the same cookie for every path.
You're supposed to be using the path to have different cookies for the
same user in different directories on your server, if you need the path at
all: Most folks don't.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)