Online documentation - Websydian v6.1
|
Repeated Event Detection Parts
Introduction Implementing Parts
New and changed objects in the Repeated Event Detection
pattern.
The SessionControl pattern contains only one data
entity:
- The DetectedEvents
entity stores the events that has been activated one or more
times.
The Abstract entity contains the Websydian
EventHandler and PageGenerator functions enhanced with
functionality to implement Repeated Event Detection:
- The PageGenerator
pattern implements Event Detection functionality for Page Generator
functions. This function has been enhanced so it adds the PageID
field to every page that contains protected events. The PageID then
appears as hidden input fields for the protected events.
The PageID is taken from the RequestCount field on the current
session as this field is incremented automatically for each request
and thereby can serve as an unique page ID.
- The EventHandler
pattern implements Event Detection functionality for the Event
Handler
This function uses the SessionID, PageID, and EventID to find out
whether the event has been activated previously. If so further
access is denied and the user is presented with an error message
specifying the cause of the failure.
- Services contains the error page that will be shown when a
repeated event is detected.