php-db | 2001041
Date: 04/11/01
- Next message: Anderson Sone: "Re: [PHP-DB] mssql - unable to read large text fields"
- Previous message: Rubanowicz, Lisa: "RE: [PHP-DB] Uploading file into database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi everybody,
I am trying to use cookies in my website and want to ask you these
questions:
1. Header("Set-Cookie") or SetCookie() is better? as the setcookie manual
comments said that Header("Set-Cookie") is better.
2. Domain=myserver.com OR domain=.myserver.com OR skip the domain argument
is better? (to make the cookie available whether visitors are coming to my
site with http://www.myserver.com or http://myserver.com )
3. What SetCookie statement must I use to make the cookie available in the
entire website? Is it Header(SetCookie: cookiename=cookievalue;
expires=Friday, 16-Jan-2037 00:00:00 GMT; path=/; domain=.myserver.com); ?
Thank you!
Lisa Elita
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Anderson Sone: "Re: [PHP-DB] mssql - unable to read large text fields"
- Previous message: Rubanowicz, Lisa: "RE: [PHP-DB] Uploading file into database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

