SessionEnd

Metreos.Providers.Http.SessionEnd

Summary

SessionEnd is used to indicate to the HTTP Provider that this HTTP session is no longer active.

Usage

The HTTP Provider offers basic session-keeping features for applications. The HTTP Provider will correlate inbound HTTP requests with a running script if a RoutingGuid is present in either a header, cookie, or query parameter named metreosSessionId. Also, the HTTP Provider will fire a SessionExpired event if it determines that a particular session has become inactive. The SessionEnd action gives the developer a way to indicate to the provider to no longer maintain the latter session service, the firing of SessionExpired. The liberal and judicious use of this action improves the overall scalability and efficiency of the HTTP provider.

One way to easily and effectively call SessionEnd is to use it in the InstanceDestruction event handler.

Remarks

None.

Action Parameters
Parameter Name.NET TypeDefaultDescription
TimeoutSystem.Int32The Timeout property specifies to the Application Runtime Environment how long to wait for a response from the provider for the current action. The ReturnValue returned in this case is Timeout. The value must be a literal value in milliseconds.

No Result Data

Branch Conditions 

Success

No description.

Failure

No description.

Timeout

No description.