TEdgeBrowser and IW 15.2.30 session ended

<< Click to Display Table of Contents >>

Navigation:  Forum >

TEdgeBrowser and IW 15.2.30 session ended

Forum link

 


 

06-19-2021, 01:51 AM:

 

I have a D 10.4.2 app with an TEdgeBrowser that calls an IW 15.2.30 app.

 

Does anyone know to detect in the TEdgeBrowser that a IW session is terminated and or session ended?

 

TIA

 


 

06-22-2021, 03:03 AM:

 

You will need to inspect the values of the session cookie. You first will need to check if the cookie exists and also if the cookie is not expired.

 

however there is a problem: You will need to disable the security feature "ServerController.CookieOptions.HttpOnly". HttpOnly option means that the cookie can't be read by JavaScript code.

 

You may also have a problem with "ServerController.CookieOptions.SessionCookies" option. This option means that the cookie is only in memory and it is lost when the browser closes.

 


 

06-23-2021, 09:19 PM:

 

(06-22-2021, 03:03 AM)Alexandre Machado Wrote: [ -> ]You will need to inspect the values of the session cookie. You first will need to check if the cookie exists and also if the cookie is not expired.

 

however there is a problem: You will need to disable the security feature "ServerController.CookieOptions.HttpOnly". HttpOnly option means that the cookie can't be read by JavaScript code.

 

You may also have a problem with "ServerController.CookieOptions.SessionCookies" option. This option means that the cookie is only in memory and it is lost when the browser closes.

 

Thanks Alexandre