NetTalk Central

Author Topic: NT 9.14 - SessionIDName support missing  (Read 3725 times)

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
NT 9.14 - SessionIDName support missing
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 9.14 - SessionIDName support missing
« Reply #1 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

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: NT 9.14 - SessionIDName support missing
« Reply #2 on: October 16, 2016, 11:18:07 PM »
Hi Bruce,

Ok, thanks.

Peter