Atozed Forums
TEdgeBrowser and IW 15.2.30 session ended - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TEdgeBrowser and IW 15.2.30 session ended (/thread-2435.html)



TEdgeBrowser and IW 15.2.30 session ended - zsleo - 06-19-2021

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


RE: TEdgeBrowser and IW 15.2.30 session ended - Alexandre Machado - 06-22-2021

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.


RE: TEdgeBrowser and IW 15.2.30 session ended - zsleo - 06-23-2021

(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