Atozed Forums

Full Version: TEdgeBrowser and IW 15.2.30 session ended
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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-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