Online documentation - Websydian v6.1 |
The CreateSession function initializes the SessionStatus field, the RequestCount field, the Date and Time fields, and it receives as input the IpAddress field. Having initialized all the field values, the CreateSession function calls the InsertRow function to create the Session record.
It is the responsibility of the application developer to add the necessary code to get the next SessionID. This can either be done as a part of the CreateSession function or in the called InsertRow function. In the implementation examples, this is done by inheritance from the Surrogate and SurrogateSystem patterns in the FOUNDATION library.