SESSION TIME OUT ISSUE

My doubt is on a classic asp application. The session time we have set up on the IIS is not being considered and it kicks out the customers very frequently from the application which creates a huge problem.  We dont have have the session time out set up anywhere in the code and I believe IIS set up should work through the webconfig file. Not sure where else this could have been set up.

We had this working fine till few days back before we did a huge  DB change. Previously we had 10 database and we planned to merge it all to one. So we created a new instance  with merged database and moved to this instance. We have not changed anything on the code except for the connection strings but we are not getting a solution on this time out issue.

We have changed the session time out to 40 minutes in the application pool in IIS and restarted the IIS for the changes to get affected. But it does not work. Please provide us your valuable solution.  Most part of our application is in classic asp where few are asp.net applications which we have created as separate application and  integrated with the asp application.
gracesoftAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Om PrakashCommented:
Please try the following for setting session timeout in IIS :

https://technet.microsoft.com/en-us/library/cc725820(v=ws.10).aspx

For classic asp, put global asa file into root folder and set session time out there
Ankit PareekOnline MarketingCommented:
Yes you can read out above thread mention by Om Prakash to solve your issue
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
What is timing out?  If it times out in 5 minutes of inactivity, that is probably the idle time out that you set in the application pool. https://technet.microsoft.com/en-us/library/cc771956%28v=ws.10%29.aspx

There are 3 basic time outs.   Session timeout, script time out and idle time out.  The session time out would be for setting session variables.  Perhaps you use this for a log in

if session("authorization") = "Admin" then
    ' let them on the page
end if

Open in new window


Script time out is how long a script runs. It is there so a script does not run for 24 hours by mistake.

The idle time out you would notice if you are filling out a long form after you logged in using a session variable.  Then go to click the submit button only to find out you are logged out and the form didn't submit.  For that reason, I have an article here on using cookies as a token for a log in system http://www.experts-exchange.com/articles/18259/User-Log-In-Using-A-Token.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I forgot to mention, that your session time out could be reset because the app pool crashes or resets. If the work load is too heavy, it resets and you loose your session.
gracesoftAuthor Commented:
Thank you respected experts for your inputs. We have tried all the solutions mentioned except for the Scott fell's comment on script time out and app pool crashing possibility. Can you please let me know what is solution to address application pool getting crashed? we created few more frameworks to share the applications equally? Is this is the right solution?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.