Websydian v6.1 online documentationOnline documentation - Websydian v6.5

Abstract.EventDispatcher Function

The Abstract.EventDispatcher function is a Dispatcher pattern prepared for Session Management, i.e. the Dispatcher function of the Websydian application implements Session Management by inheritance from this pattern.

The Abstract.EventDispatcher pattern calls the ValidateAndUpdateSession function to validate, if the current Session ID represents an existing, active, not timed-out Session with a correct IP address.

If an error is returned by the ValidateAndUpdateSession function, an Error Page must be generated with an appropriate error message.  The Abstract.EventDispatcher function itself contains a call to the ErrorPage library pattern.  This call may be replaced by a call to an application specific error page function, e.g.:

MySession.Abstract.EventDispatcher replaces FNC
...by FNC
ErrorPage
MyErrorPage

Inheritance