Sideway
output.to from Sideway
Draft for Information Only

Content

Server Object
 Server.ScriptTimeout Property
   Syntax:
   Parameters:
   Remarks:
  Examples:

Server Object

Server object also provides some utility functions on the server.

Server.ScriptTimeout Property

Server.ScriptTimeout Property sets the length of time out period that allowed the script to run on the server.

Syntax:

Server.ScriptTimeout = NumSeconds

 Or in an ASP file. Imply

<% Server.ScriptTimeout = NumSeconds %>

Parameters:

NumSeconds

The paramete "NumSeconds" specifies the maximum time in second that a script can run before the server terminates it. The default value is 90 seconds.

Remarks:

The timeout will not take effect while a server component is processing.

A default ScriptTimeout can be set for a Web service or Web server by using AspScriptTimeout metabase property. The Server.ScriptTimeout property cannot be set to a value less than that specified in the metabase. If the default value of AspScriptTimeout metabase property is 90 seconds. when the Server.ScriptTimeout property is 10 seconds, the scripts will still time out after 90seconds. However, when the Server.ScriptTimeout property is 100 seconds, the scripts will time out after 100seconds also

Examples:

  • To set the script to time out after 100 by Server.ScriptTimeout

    ASP script command:

    <%
    Server.ScriptTimeout = 100
    %>

  • To retrieve the value of script time out by Server.ScriptTimeout

    ASP script command:

    <%
    ScriptOut = Server.ScriptTimeout
    %>


©sideway

ID: 120200032 Last Updated: 10/2/2012 Revision: 0 Ref:

close

References

  1. Active Server Pages,  
  2. ASP Overview,  
  3. ASP Best Practices,  
  4. ASP Built-in Objects,  
  5. Response Object,  
  6. Request Object,  
  7. Server Object (IIS),  
  8. Application Object (IIS),  
  9. Session Object (IIS),  
  10. ASPError Object,  
  11. ObjectContext Object (IIS),  
  12. Debugging Global.asa Files,  
  13. How to: Debug Global.asa files,  
  14. Calling COM Components from ASP Pages,  
  15. IIS ASP Scripting Reference,  
  16. ASP Keywords,  
  17. Creating Simple ASP Pages,  
  18. Including Files in ASP Applications,  
  19. ASP Overview,  
  20. FileSystemObject Object,  
  21. http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx,  
  22. ADO Fundamentals,  
close

Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 7

Culture

Chinese 1097

English 337

Reference 67

Computer

Hardware 149

Software

Application 187

Digitization 24

Numeric 19

Programming

Web 757

CSS 1

ASP.NET 1

Regular Expression 1

HTML

Knowledge Base

Common Color 1

Html Entity (Unicode) 1

Html 401 Special 1

OS 389

MS Windows

Windows10 1

.NET Framework 1

DeskTop 7

Knowledge

Mathematics

Formulas 8

Algebra 20

Number Theory 206

Trigonometry 18

Geometry 18

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Physics

Electric 10

Biology 1

Geography 1


Copyright © 2000-2019 Sideway . All rights reserved Disclaimers last modified on 06 September 2019