Session propagation

By default, BTT framework uses workArea service provided by WebSphere® to do session propagation. BTT Struts/Invoker will get SessionEntry from CSSessionHandler and organize them into BTTSystemData, which contains session ID, subSessionID, session context instance ID or session context itself. Then it passes the BTTSystemData to the application logic layer through a work area.

If you want to do session propagation yourself, you can specify BTTSystemData as a parameter and create the Object. You need to update the session information in Web Container. If you choose this way to do the session propagation, you need to have a clear understanding of the BTT framework, and implement every thing in your own code.

Directly passing BTTSystemData to Application Logic Layer is not recommended. It's only an optional choice.

The following diagram shows the toolkit components that are involved with supporting sessions propagation.

Diagram of session propagation                               

For more information on work areas, see http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/workarea/ref/rwa_userworkarea.html