OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Property :

httpsession

On object TMLContext "this"
Usage Returns the JavaEE object representing the current HTTP browser session
Description Grants access to the HttpSession-Objekt of your JavaEE server of Type "javax.servlet.http.HttpSession". See the JavaEE API Documentation for details of its functionalities.

Be careful when setting session properties as OpenWGA internally uses the same object to store its session persistent data. Overwriting OpenWGA properties may result in malfunctionings.
Writable False
Return value Java object of type javax.servlet.http.HttpSession
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events