PDA

View Full Version : Needing to Log In Twice


Junkie
07-24-2007, 09:50 AM
I have vBadvanced installed inside my forums folder. I renamed cmps_index file to index and my old index to forums. When I go to my vBadvanced home and log in, and then click the link I have set up for my forums, which is 'forums/forums.php', I have to sign in again. I have cleared all cookies and reopened a new browser, but I am still having to log in twice.I Would like to not have users log in twice.

Brian
07-24-2007, 12:31 PM
Can you post a link to your site?

Our Sponsors
 

Junkie
07-26-2007, 01:47 PM
Brian, I PM'ed you the link to my site a few days ago. Have you been able to take a look at this?

HiTekJeff
07-27-2007, 11:18 AM
I have that exact same problem too, along with some others I'm trying to hammer out regarding the custom content module. Having to log-in twice is confusing for users and hopefully Brian's answer for you will solve mine too for double log-in/out.

Our Sponsors
 

Brian
07-28-2007, 01:59 PM
Junkie - Do you have a test account that I can try to login with? I tried to register, but couldn't tell you who won the SB.

Jeff - Have you tried the suggestions in the FAQ forum? If so, or if that doesn't work, can you post a link?

Junkie
07-28-2007, 02:10 PM
I PM'ed you the information. Thanks Brian.

Brian
07-30-2007, 12:58 PM
Looks like a simple cookie problem in your case. When you login to www.yoursite.com and then try to visit yoursite.com (without the www), that's what's causing the problem. If you try the suggestions in this thread (http://www.vbadvanced.com/forum/showthread.php?t=1343) then one of those combinations should work to solve the problem.

arpieb
08-30-2007, 03:33 PM
I recall seeing something about that during our install, and found it again on the CP page. Go to your CP, go to "vBulletin Options" and then go to "Cookies and HTTP Header Options" - now check out the "Cookie Domain" setting. We set ours to the generic domain suggested, but it details what can happen if you have two different servers on the same domain:

This option sets the domain on which the cookie is active. The most common reason to change this setting is that you have two different urls to your forum, i.e. example.com and forums.example.com. To allow users to stay logged into the forum if they visit via either url, you would set this to .example.com (note the domain begins with a dot.

You should probably go with the ".yoursite.com" cookie domain (yoursite for your actual domain name) so that the cookie doesn't get tied to a specific hostname, but the domain itself.

-R