cajunman4life Posted October 11, 2004 Posted October 11, 2004 I'm not sure if this is the right place for this, but here goes. I installed phpBB to my website, and when people log in, it won't immediately recognize they are logged in. It won't even with a full reload (Ctrl+F5). The only way to recognize that a user has signed in is either for them to sign in again (which is silly), or for them to type in the address to the location bar again (in which case it will show the user as logged in). Does anyone know what the problem may be? Perhaps the cookie settings? Quote
TCH-Bruce Posted October 11, 2004 Posted October 11, 2004 I have not seen this behavior but I do have cookies enabled. Moving for organization. Quote
cajunman4life Posted October 11, 2004 Author Posted October 11, 2004 Ok, funny thing... I upgraded to 2.0.10 through cpanel, and am currently not observing this behavior again... I'll monitor and have others do the same and inform you of any new developments. Thanks for your attention on the matter though! Quote
cajunman4life Posted October 11, 2004 Author Posted October 11, 2004 Ha! I was just kidding! I'm seeing this issue again. It only appears to affect Mozilla Firefox. I just tried it in IE with no noticeable problems. Hmm... Quote
cajunman4life Posted October 11, 2004 Author Posted October 11, 2004 Well, it would appear that I was just kidding yet again. I just witnessed this problem in IE also. So it's not just specific to Mozilla/Gecko browsers. I dunno if that makes it any easier... Quote
cajunman4life Posted October 11, 2004 Author Posted October 11, 2004 Ha ha... don't I feel silly now... so I logged in as the administrator, and went to the admin settings, and realized in fact that I had it so it was setting the cookie improperly. Whoops Mad!!! but I'll monitor it and if anything else should arise, I'll be sure to let you know. Btw guys, you rock! Rock Sign Quote
TCH-Don Posted October 11, 2004 Posted October 11, 2004 In this case you rock Thumbs Up Can you tell the others how the cookies were set wrong in case this happens to some one ese. Quote
cajunman4life Posted October 11, 2004 Author Posted October 11, 2004 *chuckles at grasshopper comment* Absolutely (no one laugh!). I somehow missed setting the domain for my cookie, and apparently that prevented the cookie from being stored/read properly (?). So all I did is set the domain name to my domain name, and simply named the cookie "forums". So the cookie should be "forums@aaronandsarah.net". Sorry, I really don't know much about cookies, so anyone else "in the know" could elaborate a bit, or perhaps correct me on this. Speaking of forums, if anyone has some spare time, stop by and make suggestions for my site in our forums. If you post as "guest", please sign with a recognizeable username. Thanks again! Quote
TCH-Don Posted October 11, 2004 Posted October 11, 2004 thanks for the follow up. You would be surprised how often we do not set the domain name for cookies on our forums. Quote
jme574 Posted October 24, 2004 Posted October 24, 2004 I am having the same problem too. I tried the above fix and made the cookie domain forums@fullefx.net , the cookie name is set at what it was when i installed the board (phpbb2mysql) and the cookies path is also at, / however after making those changes we couldn't log on (tried 6 times) so i took the forums@fullefx.net out of the coockie domain line and left it blank again. Now people can log on but it takes 2 time to log in. Any help or a step i might of missed? Quote
Berlie Posted October 25, 2004 Posted October 25, 2004 Here are my suggested settings for the cookie information for phpbb: Cookie domain: set this to either: www.****** or .****** Notice the two periods in the second one Cookie name: Any name will do, for example, "phpbb" or "forums" but it is suggested that if you run two forums on the same domain that you give each of them a unique name. Cookie path: The path to where your forums reside. For example if your forum is located at *****/phpbb/ then you would enter /phpbb/ If your forums reside at *****/forums then you should enter in /forums/ Here is an example of how I have my cookie settings for my site poetrypages at http://www.poetrypages.com/phpBB2/ Cookie domain: www.poetrypages.com Cookie name: poetryforums Cookie path: /phpBB2/ Using the same formula as suggested above I have never had a problem with my cookie settings on any of the many phpbb forums I run. Also, if you change your cookie settings and want to test out the new settings you may want to clear out the old stored cookies for your forums before reloading the page and trying it with the new settings. Quote
Berlie Posted October 25, 2004 Posted October 25, 2004 I just found this new mod at phpbb that might help out those having trouble getting the correct cookie settings. http://www.phpbb.com/phpBB/viewtopic.php?t=228741 Also it notes in there that if your users are having trouble logging in due to cookies and you change your cookie settings to fix it they will likely have to clear out their old cookie settings then reload their browser before coming back to your forums to see if the new cookie settings will work for them. So if you change your settings to something you think is correct and should be working but the user is still saying they are having trouble ask them to clear their cookies, reload and try again. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.