Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session.timeout isn't working

Status
Not open for further replies.

fergman

Technical User
Oct 19, 2000
91
US
I have a strange problem with session.timeout, no matter what I set it to, no matter which page I set it on, it doesn't seem to work. it also isn't defaulted to 20 minutes, it's more like 12 minutes. I have in order to try to get it working, have set it at the point of login, the commonly used pages, and others and nothing seems to keep pages from timing out.
This is bad, customers can't place orders because they get a phone call and by the time the call is over their entire order has been lost. can someone help me? is it possible my ISP has overridden session timeout?
 
The Session.TimeOut is set to 10 minutes by default in ASP3. Have you checked to see if it is being set in the global.asa file in the Session_OnStart subroutine?



Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
I have actually tried to set my session timeout, and my gloabal.asa file does have a couple lines that say:
Application("tempdb_ConnectionTimeout") = 60
Application("tempdb_CommandTimeout") = 65

and they are under
Sub Application_OnStart

I guess I didn't explain properly.
I have tried to set session.timeout = in several places, at the point of login, at the pages they sit at and fill in information, and others, but no matter where I set it, it seems to revert to the default. can someone give me an idea of what the global.asa file should look like, mine is very convoluted from when this was a frontpage site, the database is a dsnless and is named outsales.mdb
 
A fool proof way to get out of this is to set the TimeOut value on the server to what you may want it to be. Otherwise I would stay out of Applciation Var's and stick with Session_OnStart. sense this is a session setting

from memory it's right click (site) --> settings --> adjust the Timeout

___________________________________________________________________
[sub]
The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page
[/sub]
 
reminded myself [wink]

right click web site
--> Configuration
----->Options tab
-------->the rest speaks for itself

in IIS 5.0

___________________________________________________________________
[sub]
The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page
[/sub]
 
[lol] alright, I figured the properties part and the Home (Virt) part would be self explaining



___________________________________________________________________
[sub]
The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page
[/sub]
 
heehehhe that would be great, but I'm on a shared hosting and I dont' have access to the server, any chance someone can just give me a decent idea of what the global.asa ought to look like?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top