Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] Cookies and Domains From: Adam Trachtenberg (adam <email protected>)
Date: 01/08/99

On Fri, 8 Jan 1999, Michael Stearne wrote:

> How do I set one cookie the will work for http://mydomain.com/ and
> http://www.mydomain.com/
>
> Right now I am saying:
> SetCookie("MyDomainUserCookie",$user_id,mktime(0,0,0,12,32,2020));

Change "MyDomainUserCookie" to 'mydomain.com'

-adam

-- 
/ adam maccabee trachtenberg | visit college life online \
\ adam <email protected>           | http://www.student.com    /

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev <email protected>