Biferno 1.7 Tabasoft.it

Application: ItaliaScuola Back-Office3
Reference
Admin | Edit | Reference | Cache | Logs
Click on a class name to see the description of that particular class:

Predefined Classes

ansi
array
biferno
boolean
cacheItem
char
classInfo
client
collection
curApp
curFile
curScript
db
double
error
file
folder
header
httpPage
imageUtils
int
long
memberInfo
multipart
object
ref
regexp
request
search
serverInfo
smtp
stackItem
string
time
unix
unsigned
 

Application Classes

Banner
BrowserBar
Ctrl_Form
FCKeditor
Form
GridChartGraph
Histogram
LocalDate
Result
condb
cookie
folderExt
headerExt
httpExt
mysqlFulltext
objHtml
requestExt
tableExport
utils
 

Functions

Functions

curScript

Property:

timeout

static unsigned timeout

The timeout of the script

Description:

Get this property to know wich is the current timeout for the script. Set the property to modify that value for the current script

Notes:

If the execution time of the script exceeds the value of curScript.timeout an error Err_Timeout is thrown. This eliminates the risk of possible endless loops in the code. To avoid timeout at all set timeout to 0 (zero). Note, however, that this removes protection from possible infinite loops.

The following code exits with error Err_Timeout after 1 minute:

curScript.timeout = 1
i = 1
while(i);

The default value for timeout is defined by application variable TIMEOUT and default value for this variable is 2 minutes.

See also:

Err_Timeout

Implementation:
C
 

Return to the curScript class