PDA

View Full Version : Won't Stay Logged In


leanbulk
Fri 2nd May '08, 8:26pm
Alright, so for awhile we have been having trouble figuring out why the members wont stay logged in to our forums. I have been to a couple forums that will literally keep you logged in for months, if not longer. You actually run into problems when trying to log out. It won't let you unless you reset your cookies and such. Is there a hack for this? If so, I would love to be shown where it is at.

Anyways, before I installed vbulletin 3.7 gold (previously vbulletin beta 3) I was having trouble staying logged in, but it would atleast stay logged in for a day or so. Now, every single time the browser is closed the user is logged out. I have been having quite a few complaints, and was wondering if anyone had any ideas.

Steve Machol
Fri 2nd May '08, 8:37pm
The inability to log out sounds like corrupted cookies to me.

For the second issue tell them to click on the 'Remember me' box when they login. This will keep them logged in as long as they are not blocking cookies, assuming of course you have no modifications that broke this.

dknelson99
Sat 10th May '08, 4:04pm
I'm having this same problem since upgrading to 3.7. Members are complaining that even while they are typing a response sometimes, by the time they click "submit"...they get a message that they are not logged in. They ARE selecting remember me.

Zachery
Sat 10th May '08, 4:22pm
Are you having the same problem?

dknelson99
Sat 10th May '08, 4:47pm
Yes, here is some discussion about it. I changed the cookie domain to .venturerider but looks like there is still a problem.

http://www.venturerider.org/forum/showthread.php?p=203517#post203517

tspore
Mon 12th May '08, 10:06pm
I have had 20 or so report that the forum keeps logging them out even when they select remember me. But the hard part is, I can't duplicate the issue. Any help here?

Zachery
Mon 12th May '08, 10:13pm
Their cookies are bad. you need to get them to clear their cookies

tspore
Mon 12th May '08, 10:21pm
I would agree, and have told them to do that already so and they said that they have. So I don't think that is it... Maybe?

leanbulk
Mon 19th May '08, 8:16pm
yeah, still havent the same issues here as well

sawbones25
Fri 30th May '08, 12:16am
I just had a couple people report this same issue to me.
Beyond what has already been posted, what else can I try?

DutchTreat
Sat 31st May '08, 10:53pm
Ditto -- only a few users have this problem, and only since upgrading to 3.7 gold from 3.6.9.

Rebecca217
Sat 31st May '08, 11:17pm
Same problem here.

thestaton
Sat 31st May '08, 11:29pm
add me to the list.

martync
Mon 2nd Jun '08, 12:41pm
Add me to the list, its not all users though

Ronseal
Tue 3rd Jun '08, 7:45am
Also having the same problem. :confused:

Zachery
Tue 3rd Jun '08, 7:48am
All of you, please start your own threads/tickets on the issues.

MsJacquiiC
Tue 8th Jul '08, 10:49pm
Same issue since upgrade to vB 3.7.2 - I will file a ticket
Thanx,

Jacquii.

MsJacquiiC
Thu 10th Jul '08, 1:17pm
So - who has found a FIX for these reported issues?
Just curious as to what you have done to fix the error.

Thanx,

Jacquii.

trophygrl
Fri 11th Jul '08, 4:16pm
i am also having this issue on my board, running 3.7.2.

Zachery
Fri 11th Jul '08, 4:17pm
Again, start a ticket or a new thread.

Estad
Sat 12th Jul '08, 2:25pm
I will start my thread about this issue

but I want also to record my name here
becuase I have the same problem in my forum
some user have these problem in my forum
when I try to login with there username, the problem didn't come to me

MsJacquiiC
Sat 12th Jul '08, 5:41pm
Again, start a ticket or a new thread.

Why even start a support ticket if no support is given :rolleyes:

Jacquii.

Zachery
Sat 12th Jul '08, 6:34pm
Rarely two issues are the same even when people think they are, we need to take a look individually at each issue as it were completely unrelated.

I'll be more than happy to take a look at a support ticket and figure out whats going on and fix it to the best of my abilities.

MsJacquiiC
Sat 12th Jul '08, 6:36pm
Rarely two issues are the same even when people think they are, we need to take a look individually at each issue as it were completely unrelated.

I'll be more than happy to take a look at a support ticket and figure out whats going on and fix it to the best of my abilities.

So many reporting such a similar issue - would seem that there'd be a similar fix. It would be interesting to see if anyone who has thus reported the issue has received any support at all other than "Sorry - can't offer support for modified code." :(

Jacquii.

Zachery
Sat 12th Jul '08, 6:41pm
Alot of people report an issue, but it doesn't exsist. Every now and then we see a wave of people who get login issues, sometimes they have a bad cookie domain, sometimes they have a bad cookie folder, sometimes they have a bad cookie prefix, sometimes their cookies have become corrupted and they refuse to clear them. I've actually not seen an issue with the vBulletin code in ages that generates a cookie problem. If it were happening in the stock code it'd be happen here and on my own websites as well which it isn't. But again, we need to treat each issue like its own. So for my sake please? Your own ticket/thread.

beansbaxter
Sat 12th Jul '08, 7:32pm
I found a fix for this... even after telling people to clear cookies, people just kept reporting the same problem. It has to do with your cookies being stored for your domain name with and without the www before the domain name.

I recommend doing a 301 redirect to adding the www in the htaccess file for anyone who types in the domain name without the www

This keeps your cookies looking at the www before the domain name every time and no more problems! Been running it for a few weeks now and it fixed everything.

MsJacquiiC
Sat 12th Jul '08, 9:20pm
I found a fix for this... even after telling people to clear cookies, people just kept reporting the same problem. It has to do with your cookies being stored for your domain name with and without the www before the domain name.

I recommend doing a 301 redirect to adding the www in the htaccess file for anyone who types in the domain name without the www

This keeps your cookies looking at the www before the domain name every time and no more problems! Been running it for a few weeks now and it fixed everything.
Hmmm - this IS interesting because I don't generally use the www prefix when surfing any domain. I do have a 301 redirect in place - but I'm not exactly sure about the syntax. And looking at the code - it seems wrong because my forum is located in the main root.

EDITED: What is the correct syntax for the 301 Redirect please?


Thanx,

Jacquii.

@ ZACHERY - I did file a support ticket - unfortunately I didn't get very much help - I was told that it could be a vBSEO issue - but mostly was told that vBulletin cannot "officially" support boards with modified code. In short..... Nothing.... :(

Steve Machol
Sun 13th Jul '08, 1:01pm
Why even start a support ticket if no support is given :rolleyes:

Jacquii.
That is not fair. I worked rather extensively with you on this - 8 ticket responses in one day. In fact my last response to you was this:

Do you have any modified files? If so, the first thing I recommend is reuploading the original vB files.

After that I would temporarily turn off vBSEO and remove .htaccess to see if that fixes this.

Then you can also try with a completely unmodified style.

Of course with each test you should clear out your browser cookies and cache so you are not using old code.

The bottom line as I told you that based on everything I saw I believe that one of your add-ons is causing this. You could have followed my instructions if you wanted. I never heard anything more from you on this.

If you are going to comment on our support, please at least be fair.

MsJacquiiC
Sun 13th Jul '08, 9:12pm
Okay - Apologies STEVE - I did not see the last response you made - But yeah - thanx for your kind responses - We did indeed have a bit of discussion in my support ticket and I appreciate you taking the time to respond....

The thing is - I'm still troubleshooting the issue. I've stated in the support issue "I'm simply trying to remedy an apparent issue on my Forum, and you telling me to dump all the modifications, including vBSEO is not helping me. I'm pretty sure that vBulletin code is the tightest in the industry. It's the reason I chose vBulletin for my Forum, even above IPB - So no argument here on the immaculate quality of code that is vBulletin! That withstanding - I have an issue on my Forum that seems to log me out as I stated in the initial request for support. Is there any solution that you can provide me with other than what you have?"

So yeah - Having an out-of-the-box vBulletin forum... There would likely be no issue. Unfortunately my Forum has been customized quite a bit. And yes - as I stated in my support ticket - I understand vBulletin cannot "officially" support every single forum that's running custom code, etcetera.... But that has not helped me fix the issue on my board. It's frustrating and I apologize for my hothead comment :blush:

As far as removing the .htaccess file - can't do that, as I have a few re-directs in place for other sites in the JPiC Network in my .htaccess file. At anyrate - It does seem as if this issue has been reported by so many - that there could be a simple fix to alleviate the problem. Perhaps vBulletin can look into offering some sort of possible fix.... Officially "un"official of course :D

Fair enough? :P

Jacquii.

Zachery
Tue 15th Jul '08, 12:49am
If you're unwilling or unable to temporarly disable the custom coding in place we cannot provide support.

jasonyetter
Tue 15th Jul '08, 6:47pm
Clicking on my main sub forum, logs me out. Other sub forums keep me logged in OK. Whats happening? J

Zachery
Tue 15th Jul '08, 8:00pm
Please, start your own tickets and or threads for further help.