Intraweb check server without creating session

<< Click to Display Table of Contents >>

Navigation:  Forum >

Intraweb check server without creating session

Forum link

 


 

01-08-2019, 04:58 PM:

 

I recall a while back a way to call IW app to basically get valid response from IW app without creating a session.   I am running behind AWS load balancer and realized that I can have LB check for existince of a file , which satisfies health check, but it creates a session.

 

Plan is to set a lower default session timeout value with custom error messages and increase the timeout once a valid user login is detected. 

 

In future I may evaluate the user agent and let app create session then end it after responding as it would actually let the app respond that its alive rather than just returning a canned response.  I have had an instance where my app is "non responsive", but I can still pull a file from wwwroot if my load balance health just was just requesting a  file.

 

Anyway, thanks for reading this.

 


 

01-08-2019, 05:27 PM:

 

Content handlers can return content without creating a session. I think this may be what you are thinking about.

 


 

01-11-2019, 05:52 PM:

 

THanks for pointing me in that direction. I added a content handler and the AWS load balancer can detect my app instance and all is well.

 

Cheers!