MyBB Community Forums

Full Version: Login keeps losing data
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
*Please do not say it's incorrect cookies because I have logged in before and I know it's not cookie error.*

Here's the issue:
When entering the username and password, it successfully login and display the successfully login message (member.php) "You have successfully been logged in, You will now be taken back to where you came from."

but when it's redirected back, (You will now be taken back to where you came from) login is lost.

My members is experiencing this as well as me (admin). Can anybody help me?

Website: http://ComingSoon.VisualizeEdits.com/
Username: Test
Password: Password (Let me know if it doesn't work and I'll create another one.)

If you need me to post any codes such as my config.php or anything like that, let me know. Thanks!
I was able to login, navigated through forum as a member, logged out by using the logout link and logged in again,
browsed a couple of sections - without any problem. so suggestion is to clear your browser cache and try again !

however, once again here is cookies guidance link
Hm, that's weird because I had some other members who has the same issue on my forum. I have cleared my browser cache before and it work but when I log out, it does that error after logging in.
It probably does have something to do with your browser. If you just moved MyBB to another server or converted to MyBB, it can't hurt to double check the cookie settings in both config.php and the ACP. Sometimes MyBB gets things mixed up if the settings are different in the config file than they are in the database.

Have you tried logging in through a different browser?
(2013-08-05, 04:55 PM)Darth Apple Wrote: [ -> ]It probably does have something to do with your browser. If you just moved MyBB to another server or converted to MyBB, it can't hurt to double check the cookie settings in both config.php and the ACP. Sometimes MyBB gets things mixed up if the settings are different in the config file than they are in the database.

Have you tried logging in through a different browser?

But it's not just me though but I'm using chrome. I will try to see if the problem occur in the other browsers. I actually installed MyBB and then started developing my theme and before I even start my theme, I make sure my cookies settings is fixed because as always, when you first start MyBB, you won't be able to log into your AdminCP so I have to fix that first. But no problem afterward. The prefix is correct.

http://gyazo.com/86f6fb252a1dd63c4bb1f9e6c3c01c3c
^ cookie domain can be comingsoon.visualizeedits.com or .visualizeedits.com
Working perfect for me also
could still be cookies, if you changed any cookie setting and users still have old cookies they clash with. any time I have to change anything with the cookie settings, however minor, I also change the cookie prefix to something not used before, so everyone will be forced to get new cookies, and old cookies ignored.
How to I create my own Cookie Prefix? I have multiple MyBB under my domain VisualizeEdits so do I just make up a cookie prefix here?
http://gyazo.com/cf68b394756c207274243919a707de29

and then maybe fix it in my config.php? Do I have to add it into my cPanel of my HostGator?

I'm just going to end the topic here since I have solved the issue that was with this title of the thread.
I would look at the cookie domain as well, as it could easily cause that sort of issue as well.