NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: peterH on October 16, 2016, 06:17:08 AM

Title: NT 9.14 - SessionIDName support missing
Post by: peterH on October 16, 2016, 06:17:08 AM
Hi Bruce,

From the 9.14 Version History:

Quote
Add: SessionIDName property to WebHandler - let's you override name of SessionID cookie.

But I think you forgot to include template support for this. All I see in netweb.clw is:

Code: [Select]
,self.SessionIDName = 'SessionID'

Peter
Title: Re: NT 9.14 - SessionIDName support missing
Post by: Bruce on October 16, 2016, 10:38:13 PM
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
Title: Re: NT 9.14 - SessionIDName support missing
Post by: peterH on October 16, 2016, 11:18:07 PM
Hi Bruce,

Ok, thanks.

Peter