Hi Peter,
There's no template support for this. The edge case where you use this is very minimal, and it should not be done gratuitously, so if you want to do it you need to add embed code to the app.
In WebHandler, ProcessReqest, before parent call.
self.SessionIDName = 'OtherSessionID'
Cheers
Bruce