Previous Thread
Next Thread
Print Thread
Hop To
#217006 09/14/2008 1:15 PM
Joined: Jun 2006
Posts: 1,090
Likes: 30
Old Hand
Old Hand
Joined: Jun 2006
Posts: 1,090
Likes: 30
Hi,

Our members complain that they have problem staying login.
They have to relogin when posting which is pain.

I thought this problem would be solved by migrating from classic 6.7.3 to threads 7.3.1.

How come this can happen? It happens to me also very ofthen on
http://www.britbike.com/forums/ubbthreads.php?ubb=cfrm
but not on this forum.


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
This appears to be a cookie problem, I have it with only certain user but others users have no problem. The users may have to make a cookie exception in their browser to accept all cookies for that domain name.

Joined: Jun 2006
Posts: 16,536
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,536
Likes: 150
Likely the user is going to your site as (and logging in to)
http://yoursite.tld

Once they login, they're redirected to your "full url" you set in your CP; which forces them to have to login again, as the "full url" (http://www.yoursite.tld) is seen as a different domain than http://yoursite.tld and thus the cookie is invalid...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
That sounds plausable. Would the HTTP Referer Check have any bearing on this?

Joined: Jun 2006
Posts: 16,536
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,536
Likes: 150
No, that simply checks the allowed referrers for making posts or pm's... basically, form submissions. It has no effect on the login process or cross domain cookie issues; which is more a security issue with the webserver than anything else...

Fix would be to force users to either use www or no www via a .htaccess referrer trick (I think I posted one in the faq forum)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 1,090
Likes: 30
Old Hand
Old Hand
Joined: Jun 2006
Posts: 1,090
Likes: 30
Ok, Blimey i'm not sure I have an .htaccess file
but if I need to have one I'll create it like below.
in which directory should I place it?
URL: http://www.britbike.com/forums/ubbthreads.php
Path: xxxx/html/forums/ubbthreads.php

I also use this url which contains frames so I can use logo and menues.
http://www.britbike.com/forum/index.html
one of the frames calls for http://www.britbike.com/forums/ubbthreads.php



# Allow Re-Writing
RewriteEngine on

# Redirect non-www URLs to WWW
RewriteCond %{HTTP_HOST} ^britbike.com$
RewriteRule ^(.*) http://www.britbike.com/$1 [QSA,L,R=301]


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Jun 2006
Posts: 16,536
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,536
Likes: 150
Originally Posted by Morgan
in which directory should I place it?
web root xxxx/html/


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 1,090
Likes: 30
Old Hand
Old Hand
Joined: Jun 2006
Posts: 1,090
Likes: 30
Thanks a lot I'll do that! smile


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Jun 2006
Posts: 1,090
Likes: 30
Old Hand
Old Hand
Joined: Jun 2006
Posts: 1,090
Likes: 30

Gizmo I did put the .htaccess file in the root however still have staying login issue
I have now arrived home after a trip, today firefox updated to 3.03 a swedish version and I must say it still keeps throwing me out.

not on this forum but my own.
http://www.britbike.com/forums/ubbthreads.php

I need to say I use also IE Version 7.0.5730.13.

Visitors complain saying I login 5 times in 5 minutes...

I also expire my cookies sometimes when it to bad and are only using one browser for a while to check.

does it help to put .htaccess files in the forums folder?? and if so with what content???

just being in the dark with this issue


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issues going from 7.5.5. to 8X
by Mors - 10/22/2026 1:32 PM
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 4:34 PM
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
Who's Online Now
2 members (Mors, 1 invisible), 584 guests, and 119 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)