This topic is locked

Session Expired

3/21/2012 9:08:26 AM
ASPRunnerPro General questions
S
scoobysteve author

I have had session expired isses on 3 sites I run on the same dedicated server (2003) I have set the settings to 4 hours and iot still makes no difference sometimes everytime I click on a section of the application it asks me to sign in again, I have seen loads of people reporting this, and I feel there must be someting wrong somewhere. If I cvlose any browser in any OS it expects me to logon again and if I minimise any browser on any OS (Mac or Windows) it sometimes asks me to logon again, there seems to be no patern as to when it does this sometimes its fine all day and sometimes its asking me all the time without making any changes.
I see from serching that the only explination given is the settings in ISS manager well I have changed these and even re booted the server and it makes no difference, my clients are complaining about it all the time.
Please advise I have attched a screen shot of my settings on one of my websites on the same server.
Regards
Steve

Sergey Kornilov admin 3/21/2012

Check this link:

http://webcheatsheet.com/asp/asp_troubleshooting.php#problems

'Application loses session variables sporadically.' section is what you looking for.

S
scoobysteve author 3/22/2012

I have done this, I am telling you there is a problem, yesterday without making any alterations I could not click on anything without it asking me to logon again then after about 2 hours it started to work again with the occasional expired message. I had not changed anything within the application or on the server.
I have set the server (2003) to all the settings in acordance to this issue, why cant it use cookies instead my clients are getting really upset with this problem.
Please advise

Sergey Kornilov admin 3/22/2012

Steve,
in web development everything is tied to sessions. You just need to configure your server properly or hire someone who can. Nothing will work if sessions are not working.

S
scoobysteve author 3/22/2012

it is setup exactly the way your documents state, and it keeps timing out, I have double checked and even sent you images of the settings so what more can I do if I have done what you have sent me.
Is there a way to overide the session setting in the global.asp file to force it to run for 60 minutes then



Steve,
in web development everything is tied sessions. You just need to configure your server properly or hire someone who can. Nothing will work if sessions are not working.

Sergey Kornilov admin 3/22/2012

No, it's not possible to override server settings in global.asp.
According to what I see on the Internet this appears to be a common problem with IIS 6. Most people say that setting 'Maximum number of worker processes' to 1 solves the issue.
http://webcheatsheet.com/asp/asp_troubleshooting.php#problems

S
scoobysteve author 3/22/2012



No, it's not possible to override server settings in global.asp.
According to what I see on the Internet this appears to be a common problem with IIS 6. Most people say that setting 'Maximum number of worker processes' to 1 solves the issue.
http://webcheatsheet.com/asp/asp_troubleshooting.php#problems

Sergey Kornilov admin 3/23/2012

Not really sure what the latest post is supposed to mean.

S
scoobysteve author 3/24/2012

Sorry not sure what happened, I am trying various IIS6 settings to try and resolve this its a real pain though. Close.



Not really sure what the latest post is supposed to mean.