Constantly logged out

Forum
Last Post
Threads / Messages

Alaric

Member
Member
Joined
Nov 17, 2011
Messages
111
Points
16
Age
30
Mysidian Dollar
9,668
I'm randomly getting logged out often while feeding, or even when I'm on the maps. I know that after a while of inactivity on the site, you get booted off, but this happens a number of times when I'm actually on the site and doing something. (*other members have the problem too*)

*problem occurs these pages:

memberlist, user profiles. (profile.php?)
all pages inlcuding maps, chat . (pages.php?)
 
I had this problem and we couldn't figure out how to fix it. In the end I just upgraded when the next security release came out and that fixed the problem.
 
Check the url between going to different links. The "www." will actually affect how the cookies work.

Normally when I notice I'm getting logged off of sites is when I go from a link with the "www." to one without, and vice versa. Just make sure all your links either include or don't include that.
 
Here are the 3 pages have the www.

1. "http://www.".constant("DOMAIN").constant("SCRIPTPATH")."/profile.php"
2. 'http://www.".constant("DOMAIN").constant("SCRIPTPATH")."/siggy.php?id={$row->favpet}'
3. 'http://www.".constant("DOMAIN").constant("SCRIPTPATH")."/levelup.php?id={$row->favpet}'

do i need to remove that www. or leave it as it is ???

Edit : also how did they occur suddenly, is there a Fix?
 
Last edited:
If all your other links are not using "www.", then yes, you should remove that.

I don't get what you mean by your last sentence D:
 
Well the script by itself encourages you to include www in your url, which is why I had them coded in pagination script. If you insist on not having www, just remove them and your script should work normally.
 
Similar threads

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top