Page History
...
Mthroutine Name(DoSomething) Session(*Required)
Define_Com Class(#SessionServices.DoSomething) Name(#DoSomething)
#DoSomething.ExecuteAsync( #User )
Evtroutine Handling(#DoSomething.Completed)
#MyApplication.ShowDetails
Endroutine
Evtroutine Handling(#DoSomething.Failed)
#MyApplication.ShowSignon
Endroutine
Endroutine
Note: Time out policy when running in the Cloud.
When running in the Cloud with a Load Balancer, it is important to ensure that the 'Stickiness Policy' timeout is greater than any Session timeouts in your application.
The default Stickiness Policy Timeout is 930 seconds which presumes that the maximum Session timeout is 900 seconds. If this is not the case, session timeout errors may occur earlier than expected if the Stickiness Policy expires when the load balancer directs the next request to a different App / Web Server. Conversely, it is best to keep the Stickiness Policy timeout as low as possible so that the load may be balanced more evenly, so if the maximum session timeout is, say, 600 seconds, then it would be good to lower the load balancer Stickiness Policy timeout to 630.