Author |
Topic  |
|
plainswell
Starting Member
3 Posts |
Posted - 27 October 2004 : 18:26:26
|
I have just installed the current version. (my first)
All works extremely well - except that when I login as Admin I find I'm being logged out *before* I complete working in any given Admin panel - less than 10 seconds in some cases. When I try to save changes I'm asked to login again and my changes are lost.
On a large panel, my login seems to expire before the panel has finshed loading requiring me to do multiple logins and reloads to make small changes.
I looked but haven't found anywhere to configure the timeout. Does anyone know where that is? Is it staring me in the face? 
thanks
plainswell
|
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 27 October 2004 : 20:12:15
|
I have seen this behavior before, but I don't know what causes it. It might be something your host is doing, maybe they timeout the session cookies at a different interval than the default (default is 20 minutes). |
 |
|
altisdesign
Junior Member
 
United Kingdom
357 Posts |
Posted - 27 October 2004 : 20:16:41
|
I am no expert on the subject, and perhaps Gremlin, Richard or Huw could help me out on this one, but I have experienced something similar on aprevious host.
Having looked into it a little bit, I found along with a couple of others that it was due to load balancing across multiple servers, which means the session id isn't concurrent page to page so you lose the session information that keeps you logged in. Could this be what is happening here? I'm not sure how the snitz admin area login system works. In the end after contacting the host about it they tried putting me on a separate application pool but that didn't help, so I ended up recoding my admin area to work using a cookie and a database stored session id, which solved the problem. |
Altis Design offers all manner of web design services to a variety of commercial and personal clients |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 27 October 2004 : 20:32:39
|
load balancing across servers would cause this sort of behavior. As far as I know, a Session cookie will not follow you from one server to another (neither will session variables). |
 |
|
plainswell
Starting Member
3 Posts |
Posted - 27 October 2004 : 21:42:02
|
Hmmm. I'm told it's unlikely that the host provider has multiple servers... |
 |
|
Gremlin
General Help Moderator
    
New Zealand
7528 Posts |
Posted - 28 October 2004 : 00:00:45
|
You could try overriding the Session Timeout value by putting in a line like Session.Timeout = 20 proably easiest place is to put it in inc_header.asp and see if that helps at all. |
Kiwihosting.Net - The Forum Hosting Specialists
|
 |
|
plainswell
Starting Member
3 Posts |
Posted - 28 October 2004 : 04:06:59
|
quote: Originally posted by Gremlin
You could try overriding the Session Timeout value by putting in a line like Session.Timeout = 20 proably easiest place is to put it in inc_header.asp and see if that helps at all.
Thanks Gremlin, but alas, it didn't work. This really is a bother.... 
plainswell |
Edited by - plainswell on 28 October 2004 04:08:21 |
 |
|
Gremlin
General Help Moderator
    
New Zealand
7528 Posts |
Posted - 28 October 2004 : 04:57:08
|
ok another thing to check then is that you have cookies enabled and that your browser is not blocking the session cookie from being written on your PC. On that matter also check that the time on the server and your local PC are correct as well. |
Kiwihosting.Net - The Forum Hosting Specialists
|
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
Gremlin
General Help Moderator
    
New Zealand
7528 Posts |
Posted - 28 October 2004 : 06:54:13
|
True that would definitely do it with the multiple worker processes. |
Kiwihosting.Net - The Forum Hosting Specialists
|
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
|
Topic  |
|