Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TEdgeBrowser and IW 15.2.30 session ended
#1
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
Reply
#2
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.
Reply
#3
(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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)