Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2010
Posts: 20
C
stranger
stranger
C Offline
Joined: Sep 2010
Posts: 20
Has anybody had trouble getting Internet Explorer to "remember" users? Firefox works just fine, but for some reason even when I try to log in on this forum at UBBCentral, it doesn't want to keep me logged in. It just takes me back to the forum list as a non-logged in user.

Not checking the "remember me" box logs in just fine too.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Is it IE 8 you are using? If so then yes, and not just on forums, but a variety of sites give the same problem. I *think* we may have found a way to work around it, and by "we" I mean a developer site I belong to and we'll be working to see if it's a valid fix.

If you can actually duplicate this, then I might PM you to test a fix if we make one available since I haven't been able to duplicate it myself.

Joined: Sep 2010
Posts: 20
C
stranger
stranger
C Offline
Joined: Sep 2010
Posts: 20
Yep, just got a new computer with IE8 and that's when the problem started. I'd be happy to help test a fix when you get one going! Thanks.

Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
most of my members of my site cant get logged in when using IE. They have to use firefox.

Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
FWIW, I use IE8, and have no problem being "remembered." I'm running under XP pro, though.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Still looking for a site that I can duplicate this on so I can actually debug it. Will try vaguntrader.

Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Originally Posted by Rick
Still looking for a site that I can duplicate this on so I can actually debug it. Will try vaguntrader.


any luck Rick?

Joined: Jun 2006
Posts: 81
M
member
member
M Offline
Joined: Jun 2006
Posts: 81
Many folks on my forums have run into this same problem.

Here's an example

Another

So far the only fix is to turn IE8's protected mode off.

Rick, if you need an account on my forums for testing, just let me know.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
vaguntrader, I did put in the change on your site. Let me know if IE8 users are still having the login issues.

Last edited by Rick; 12/28/2010 8:30 AM.
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
oh, is there a fix for it? public/semi-public? smile


- Allen
- ThreadsDev | PraiseCafe
Joined: Sep 2010
Posts: 97
V
member
member
V Offline
Joined: Sep 2010
Posts: 97
Originally Posted by Rick
vaguntrader, I did put in the change on your site. Let me know if IE8 users are still having the login issues.

well, i just logged in using IE grin

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'm testing it now. The current theory is that IE8 is forcing the domain to be passed along with the cookie. What I'm testing on a few sites is modifying libs/html.inc.php

Around line 771 you'll see this:

Code

setcookie("$name","$value",$time,$cookiepath);


You can try changing that to the following (using your actual domain name)

Code

setcookie("$name","$value",$time,$cookiepath,".yourdomain.com");


Joined: Sep 2010
Posts: 20
C
stranger
stranger
C Offline
Joined: Sep 2010
Posts: 20
Any luck with the above change? I'm too much of a newbie to try it without someone telling me it works.

But we are still having the problem with IE8 and people keep calling me and asking me what I intend to do about it. (I know, end of the world!)

Thanks.

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Originally Posted by Rick
I'm testing it now. The current theory is that IE8 is forcing the domain to be passed along with the cookie. What I'm testing on a few sites is modifying libs/html.inc.php

Around line 771 you'll see this:

Code

setcookie("$name","$value",$time,$cookiepath);


You can try changing that to the following (using your actual domain name)

Code

setcookie("$name","$value",$time,$cookiepath,".yourdomain.com");



Thank you - now I can't log out to try and see if it works smile

Clearing cookies with the mycookies tool doesn't quite do it.

Last edited by AllenAyres; 03/04/2011 10:44 AM.

- Allen
- ThreadsDev | PraiseCafe
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
I used it on another forum where I wasn't already logged in yet. It took 2 attempts at logging in before it 'stuck'.


- Allen
- ThreadsDev | PraiseCafe

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Post Counts zeroed out
by Baldeagle - 11/03/2024 3:05 PM
Who's Online Now
1 members (Ruben), 1,918 guests, and 54 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)