PDA

View Full Version : Cookie Error - http:// and http://www.


PH03N1X
10-22-2007, 09:30 PM
Hey there,

I seem to have cookie issues with my forum.
If I login from http://mysite.com/forum, whenever I'd go to http://www.mysite.com/forum it'd log me out and I'd have to log in again just because of the www.

Is there anyway to fix or get around this?

As I'm using vBSEO which redirects all links to http://www., I really need this to be solved.

Thanks,
Mike

snakes1100
10-22-2007, 09:37 PM
It shouldn't make a difference, try clearing your cookies & temp files from the browser, make sure your not blocking the session and restart the browser.

nexialys
10-22-2007, 09:49 PM
it makes a difference because the cookies are tagged with the entire url, not only the domain...

Lynne
10-22-2007, 09:54 PM
Use htaccess to redirect all mysite.com to www.mysite.com and then you should be fine.

snakes1100
10-22-2007, 10:05 PM
it makes a difference because the cookies are tagged with the entire url, not only the domain...

It shouldn't make a difference unless he is using something like "forums.hissite.com" subdomain, as he is only using www, this could reflect on his dns or apache record being incorrect.

@PH03N1X
In you admincp, vbulletin options --> Cookies and HTTP Header Options --> Custom setting box, tic the "Use Custom Setting (Specify Below)" and add .youdomain.com to the box then save it.

Note the period in the front .youdomain.com

--------------- Added 1193094384 at 1193094384 ---------------

Use htaccess to redirect all mysite.com to www.mysite.com and then you should be fine.

Why waste valuable apache resources with htaccess requests to your site, correcting the actual issue would be better.