FormSession

The FormSession interface represents a single browser window, usually a separate tab within the browser. Each one of these browser windows can be executing an Ebase form, and each one of these forms needs to maintain its own state data independent of the others. This interface contains methods that give access to form session attributes - these exist for the duration of the HTTP session, but are limited in scope to just a single form session - usually a browser tab.

FormSession Functions

getFormSessionId FormSession.getFormSessionId( ) Returns the Ebase form session identifier.
getFormSessionAttribute FormSession.getFormSessionAttribute( attributeName ) Returns the value of the form session attribute named by attributeName.
invalidate FormSession.invalidate( [formSessionId ] ) Invalidates the specified form session and frees all memory associated with it
removeFormSessionAttribute FormSession.removeFormSessionAttribute( attributeName ) Removes the form session attribute named by attributeName.
setFormSessionAttribute FormSession.setFormSessionAttribute( attributeName , value ) Sets the value of the form session attribute named by attributeName.