Author |
Topic  |
matko
New Member

54 Posts |
Posted - 23 May 2007 : 10:18:13
|
I am experiencing problem with constant logging off from the forum. When I log in I can see active topics from my last visit, but when I come back to the same active topics page date & time of my last login is now my current login time.
When I log in as admin and try to change some settings, I have to log in everytime I access item on admin page and often I have to log in after I submit some changes (which are then lost I have to set them again).
When you browse forum, after some time (not constant) you will suddenly find yourself logged off and you have to log in again. This problem has been reported by several users, so it's not related to my computer.
As a try to identify the problem I was running the same forum code with the same databse on my local computer and everything was fine then.
I did some search on this forum and I did find one relevant topic reporting exactly the same problem, but no solution.
Anybody can help? |
Edited by - matko on 23 May 2007 13:32:16 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 23 May 2007 : 10:29:33
|
Any code changes? Is your forum in a frame or using URL re-direction?
Also, have you looked at adding a compact policy? May or may not help, but it won't hurt. |
 |
|
gary b
Junior Member
 
USA
267 Posts |
Posted - 23 May 2007 : 10:49:18
|
matko...
Many forum users are MUCH more experienced than I... AnonJr and many others. But I'm not afraid of offering comments/suggestions even though they might be incorrect. You must simply treat them as suggestions... not guaranteed solutions!
quote: As a try to identify the problem I was running the same forum code with the same databse on my local computer and everything was fine then.
To me, this narrows the issue. The only difference in these scenarios is 'the server'. I have an issue with one hosting company. They do not support 'session variables'. Their processing of cookies is intermittent. This has caused untold problems -- including cyclic Admin login problems.
If one of the more knowledgeable people here can give you the name(s) of session variables/cookies used, you could always add some response.write statements temporarily to the main forum page. If you get logged off, refresh the page. Are the necessary and expected session variables/cookies displayed?? If not, talk to your hosting company.
Just a thought... |
 |
|
PPSSWeb
Junior Member
 
312 Posts |
Posted - 23 May 2007 : 11:35:23
|
My guess is the session timeout is set too low. If it is set to something like 5 minutes it could time out as it may take a user that long to read a post before submitting another request to the server. Usually I set the timeout to 15 minutes or so. I would check with your host on this to find out what their timeout is set to. |
 |
|
matko
New Member

54 Posts |
Posted - 23 May 2007 : 11:48:38
|
quote: Originally posted by AnonJr
Any code changes? Is your forum in a frame or using URL re-direction?
I am using moded portal version from Image, but I was experiencing this on clean 3.4.06 version too.
Forum is not in a frame and I am not sure what you mean by URL redirection and compact policy, could you please be more specific?
quote: PPSSWeb: My guess is the session timeout is set too low.
That was initially my idea too, but why would it log you off even if you have remeber password chceked? During admin session it looks like log off is hapenning every minute or so, while during browsing is longer than that...
gary b: The difference is also that I was using IE in Win2k to access forum on localhost, while normaly I use IE & WinXP to browse forum. |
Edited by - matko on 23 May 2007 11:51:40 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
matko
New Member

54 Posts |
Posted - 23 May 2007 : 13:25:41
|
I believe so, what could be wrong in that? What is written there looks like this:
http://www.kredo.sk/bforum/ |
Edited by - matko on 23 May 2007 13:31:10 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 23 May 2007 : 15:10:53
|
Even if it does sort it, let us know. 
As to your earlier question, some Domain services use URL redirection instead of actually pointing to your site, it has the same effect as using a frame. A compact policy helps tell the browsers that its ok to trust the cookies from your site and to not treat them as 3rd party cookies - which can happen if your forum is in a frame or the domain service is using URL redirection. There are a few threads on adding a compact policy floating around here. |
 |
|
matko
New Member

54 Posts |
Posted - 23 May 2007 : 15:42:39
|
quote: Originally posted by ruirib
Try deleting your cookies, then close all browser windows and try again. If it doesn't sort it, let us know.
I tried this already, I tried to change cookies from forum to website, but no help 
AnonJr: How can I assess if my provider is using URL redirection?
|
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 23 May 2007 : 15:50:37
|
The simpler option would be to just go ahead and add a compact policy and see if the problem goes away. (clean your cache, cookies, etc. after you add the code and before you declare victory/defeat) |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 23 May 2007 : 15:54:25
|
Dang, beat me to it... just took a little too long to find the topic again.  |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 23 May 2007 : 16:20:52
|
I have a good many bookmarked... just not all on the same computer.  |
 |
|
matko
New Member

54 Posts |
Posted - 23 May 2007 : 17:20:45
|
Thanks a lot, I will try that first thing tomorrow, today I don't have access to my source code. |
 |
|
Topic  |
|