ASP > Server Info articles: • ASP Session Timeout vs. IIS Connection Timeout
• Determining the physical drive and directory of a file on the server
Read
|
Return to index of articles
ASP Session Timeout vs. IIS Connection Timeout
Category: ASP
Category: Server Info
In IIS you can set something called "Connection Timeout" which controls, for example, how long a connection can be maintained while downloading a file before the user receives an error. This prevents users with really slow connections from hogging server resources trying to download huge files. However, this connection timeout is not to be confused with the ASP session timeout, which can be set two ways...
On the server the session timeout can be set in IIS by right-clicking on the affected web site, clicking Properties, clicking the Home Directory tab, clicking the Configuration button, going to the App Options tab and setting the value there. The session timeout can also be changed on a page-by-page basis in the ASP code by including this line at the top of your page:
<%Server.ScriptTimeout = 999 %>
where 999 is the number of seconds.
10/7/2003
Source: Visit
|