Telegram_2019-10-17T11

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2019 > 10 > 17 >

Telegram_2019-10-17T11

Telegram link

 

2019-10-17T11:35:47

 

Next dumb question:

 

In IWXI, I could set handled to true in the OnBeforeDispatch (after sending a bit of html to the response) and it would end the session there and then.

 

When I'm trying to do the same in IW XV, it *does* run the code, but seems to run the OnBeforeDispatch multiple times for a single connection, before either erroring or just rendering the front page of my app - there is no Handled property for me to tell it to stop.

 

What should I be using instead? I want to generate different html based on which subdomain was used to connect, and not have to redirect the URL

 


 

Telegram link

 

2019-10-17T11:44:10

 

Depending on your context, ContentHandlers may be what you are looking for. There are examples in our demos and they are documented on our site.

 


 

Telegram link

 

2019-10-17T11:44:34

 

type: link https://doc.atozed.com/en/iw15/develop/content-handlers/

 


 

Telegram link

 

2019-10-17T11:46:57

 

17 hooks onto 15 using ContentHandlers

 


 

Telegram link

 

2019-10-17T11:47:56

 

I'm trying to avoid doing it with redirecting though - I want the URL to be the same as default, with a different html response