12-30-2007, 07:32 PM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Dec 2007
Location: Manchester, UK
Posts: 9
Thanks: 1
|
Session / Cookie Issue?
Is anyone else use to typing in talkphp.com and missing off the deprecated www?
I just noticed if I login under http://talkphp.com/ then when I click some links that divert me to http://www.talkphp.com/ then I am logged out because the cookie cannot track me.
I'm not sure if this is a vBulletin issue and it's just a simple config change.
I think your the cookies are being set like this:
PHP Code:
setcookie('cookiename', $cookieid, time()+60*60*24*5, '/');
instead of:
PHP Code:
setcookie('cookiename', $cookieid, time()+60*60*24*5, '/', '.talkphp.com');
or you could create a .htaccess file to reroute all requests for http://www.talkphp.com/ to just http://talkphp.com/
Your probably all going to say just use the "www.", but I hate using it. It's not like it's needed any more anyway.
Any chance we could get this fixed?
Thanks!
|
|
|
|