[Top] [Prev] [Next] [Bottom] [Contents]

SaSetSessTimeOut

Sets the amount of time, in seconds, that a Sapphire generated application server will remain idle before exiting. This also is the session affinity timeout value. This function call

is inserted automatically from the project option AppServer | Timeout.

Synopsis

#include "SaRnHtml.h"
int SaSetSessTimeOut SUTPROTO((int time_out));

Arguments

time_out
Number indicating the amount of time in seconds that a Sapphire generated application server will remain idle before exiting. This also is the session affinity timeout value.

Return Values

Returns the integer value "0".

Description

Sets the amount of time, in seconds, that a Sapphire generated application server will remain idle before exiting. This also is the session affinity timeout value. No change is made if the value is less than 20. The default value is 1200 seconds. This function call is inserted automatically from the project option AppServer | Timeout.

Example

SaSetSessTimeOut(600);
Note: This call is generated automatically by Sapphire/Web in the main C file, with the value being the value of the AppServer | Timeout option.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.