Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

SetTimeOutInterval Function

The specification of the time-out interval is externalized in this function scoped by the ValidateAndUpdateSession function.  The time-out interval is set to 10 minutes as default, but this interval may be overridden by assigning other values to the output fields of the function.

The time-out interval is used by the ValidateAndUpdateSession and the TimeOutExpiredSessions functions.

A different time-out interval may be hard-coded directly into the function or it can be retrieved from a value in a database record or from an INI-file.  A number of values have been defined for the HoursToTimeOut and MinutesToTimeOut fields making it possible directly to define time-out intervals between 5 minutes and 23 hours and 55 minutes (in steps of 5 minutes).