vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Cookie Error - http:// and http://www. (https://vborg.vbsupport.ru/showthread.php?t=160882)

PH03N1X 10-22-2007 09:30 PM

Cookie Error - http:// and http://www.
 
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

Quote:

Originally Posted by nexialys (Post 1366266)
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 [DATE]1193094384[/DATE] at [TIME]1193094384[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 1366269)
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.


All times are GMT. The time now is 04:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00973 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete