News:

LVCS.NET offers low cost domain registration services.

Main Menu

after change the domain name, cookie invaild

Started by jackal_club, June 07, 2006, 01:35:03 AM

Previous topic - Next topic

jackal_club

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!!

Maven

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 :)
"The ability to combined wisdom and power has rarely been successful, and then only for a short time.
 - Albert Einstein"

jackal_club

I search http://www.php.net/ ...
the problem is that IE cannot update cookie , if subdomain name is over 10 char.