Chapter 3 DynaScript Predefined Objects
The session
object
has this property:
session.timeOut
The duration of the session (in minutes). This property exists only if the timeOut value has been changed from the default of five minutes. To check if this property exists, use:
if ( exists (session.timeOut)) {
. . .
For more information on Dynamo's default cookie timeout see "Changing Dynamo configuration settings" in PowerDynamo User's Guide.
Each session
instance
can set its own timeOut
value.
This script sets a time out of 10 minutes for the session object after a user's login has been validated:
<!--SCRIPT
if ( exists (session)
&& session.loginCorrect ){
session.timeOut = 10;
}
-->
Copyright © 1999 Sybase, Inc. All rights reserved. |