Data Access Worldwide Knowledge Base
Article ID 2213 Article Title INFO: All the timeout settings you can set for a Visual DataFlex Web Application Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2213 KBase Category VDF11 Date Created 02/03/2006 Last Edit Date 02/10/2006
Article Text
QUESTION:
How many timeout values are present and where can I configure the timeouts for a Web Application?
ANSWER:
Visual DataFlex Web Applications Administrator has 3 timeout values you can configure globally for all Visual DataFlex webapplications. They can be found through starting the Web Application Administrator tool from either the Start Menu or the Studio. In the tool, go to the View pulldown and choose Options. Here you find the Message timeout, the transaction timeout and the Termination timeout. These three values cannot be changed from an application and are global i.e. applied to the server.
The next timeout value you can configure is loaded from the global.asa file and can be set via the Visual DataFlex Studio. Choose program properties - when you have a Webapplication opened - and on the tabpage labeled "Web Application" you will find the session timeout value. This value overrides the session timeout value that you can set via IIS and on its turn you can override this at page level (see Note-1)
IIS has three timeout values you can configure.
1. The connection timeout is per website. You can configure this value by starting IIS, selecting your website, choose properties. In the dialog that opens the tabpage labeled "Web Site" shows this configuration value.
2. The other two timeout values are per virtual directory (application). Start IIS, select your website and choose your webapplication (virtual directory) name, then via right mouse click choose properties. In the dialog that opens you can click the button labeled "Configuration". The opened dialog has the timeout values on the tabpage labeled "Options". There is session and an ASP script timeout value.
Note-1:
The session timeout can be queried and set per page if you like via the following code construction:
<%
Dim iSessionTimeOut
iSessionTimeOut = Session.TimeOut
Session.TimeOut = 5 ' Value is in minutes
%>
Rest of your ASP page
<%
Session.TimeOut = iSessionTimeOut
%>
Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.
The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.