FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: jackal_club on June 07, 2006, 01:35:03 AM

Title: after change the domain name, cookie invaild
Post by: jackal_club on June 07, 2006, 01:35:03 AM
After change the domain name, (www.freepgs.com/xxx/ -> xxx.freepgs.com/)
the cookie cannot update to local pc.
I try to simple scripe to set cookie.
"setcookie('mycookie', 'value', time() + 85600 * 10, '/', '');"
it still cannot update to local pc.

Finally, my forum member reply, if use the firefox can update cookie and use IE ver 6.0.2600.0000 or before can update same.
(I use IE ver6.0.2900.2180 cannot update cookie)
Please help me, what happened?

THANK!!

P.S. I saw cookie that it can use FreePgs.com Forum cookie to my pc. what scripe to update, please tell me!!
Title: Re: after change the domain name, cookie invaild
Post by: Maven on June 08, 2006, 04:38:31 AM
are you using phpbb? if so go to your ACP (admin control panel) and click on General Admin -> Configuration and find your Cookie settings. now just change the names around and add a backslash instead of the name "/"

also in your General Board Settings change the Script path to "/" and domain name to new domian.

hope this helps :)
Title: Re: after change the domain name, cookie invaild
Post by: jackal_club on June 09, 2006, 01:40:34 AM
I search http://www.php.net/ ...
the problem is that IE cannot update cookie , if subdomain name is over 10 char.