[PHP] session_set_cookie_params() for one level domains

2004-11-15 Thread Jordi Canals
Hi all, Something that has taken me some time to debug and wanted to share: session_set_cookie_params() does not work when the domain param is just a one level domain, like it was a TLD. I have a site in an intranet and our internal domain is .local, so trying to set the cookie session to the .lo

Re: [PHP] session_set_cookie_params

2003-07-29 Thread Curt Zirzow
* Thus wrote Hank TT ([EMAIL PROTECTED]): > Hi, > > I've read the official manual on session handling, as well as the section in > "PHP Developer's Cookbook" (2/e, Hughes & Zmievski). But I still cannot > make a cookie persist across browser sessions -- very frustrating. > > I use PHP 4.1.1 run

Re: [PHP] session_set_cookie_params

2003-07-29 Thread John W. Holmes
Hank TT wrote: I've read the official manual on session handling, as well as the section in "PHP Developer's Cookbook" (2/e, Hughes & Zmievski). But I still cannot make a cookie persist across browser sessions -- very frustrating. I use PHP 4.1.1 running as a CGI in Win32. Here is a snippet: ==

[PHP] session_set_cookie_params

2003-07-29 Thread Hank TT
Hi, I've read the official manual on session handling, as well as the section in "PHP Developer's Cookbook" (2/e, Hughes & Zmievski). But I still cannot make a cookie persist across browser sessions -- very frustrating. I use PHP 4.1.1 running as a CGI in Win32. Here is a snippet: