Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSample: PASOE web handler setting
handler15=Akioma.Swat.OERA.WebHandler.SwatSessionContextWebHandler: /SessionContext/{ContextName}

With the SWAT 19.17 release, you can access the session properties from the front-end.

The new SessionContext is available by accessing akioma.sessionContext. Here the eSessionContext (SCL) and eSwatSessionContext are available. Any custom context would be available in the same object (e.g eCustomSessionContext).

The SessionContext can also be accessed from CLAPI

Code Block
languagejs
akioma.swat.SessionManager.get('propertyName', 'context');
// If 'context' is not specified, default will be eSwatSessionContext.