Neeruu Posted October 20, 2019 Share Posted October 20, 2019 Hello... I'm doing some tests and detect that when the application starts after closing the browser, 2 sessions are created (1 that is shown and another that dies with the timeout) Could someone explain to me why this happens? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 20, 2019 Share Posted October 20, 2019 Hello, Can you please specify which edition and build of UniGUI are you using? 1 Quote Link to comment Share on other sites More sharing options...
Neeruu Posted October 20, 2019 Author Share Posted October 20, 2019 Hello, while I wait for the authorization to purchase the license to download the free version 1.90.0.1509.... Quote Link to comment Share on other sites More sharing options...
Neeruu Posted October 20, 2019 Author Share Posted October 20, 2019 Support will improve when you have the license Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 21, 2019 Share Posted October 21, 2019 Hi, Can you please create a test case? Quote Link to comment Share on other sites More sharing options...
Neeruu Posted October 21, 2019 Author Share Posted October 21, 2019 Hello... Attached generated log file and example. I also detail exactly what I do. 1- Start the application from delphi, and open google chrome incognito mode. 2 - Entry to localhost:8077 09:18:17 [MainModule]:Create: TdQNucIISi104D386D2 -----> This session is created. 09:18:31 [MainModule]:Destroy: TdQNucIISi104D386D2 -----> I finish it with UniSession.Terminate. 09:18:41 [MainModule]:Create: Yf2JryKCE2104D386EE -----> I restart the application from the link in the finished session window and create this session for me 09:18:52 [MainModule]:BrowserClose: Yf2JryKCE2104D386EE -----> I close the browser tab. 09:18:56 [MainModule]:SessionTimeout: Yf2JryKCE2104D386EE -----> After a few seconds, these 2 entries are loaded into the log (SessionTimeout and Destroy) 09:18:56 [MainModule]:Destroy: Yf2JryKCE2104D386EE 09:19:17 [MainModule]:Create: 3Afnhgw9fh104D38718 -----> I go back to localhost: 8077 in a new tab and 2 sessions are created (3Afnhgw9fh104D38718 and UJDeqzYp6j104D38719) 09:19:18 [MainModule]:Create: UJDeqzYp6j104D38719 09:19:36 [MainModule]:Destroy: UJDeqzYp6j104D38719 -----> This is the session shown in the browser tab. I finish it with UniSession.Terminate. 09:19:51 [MainModule]:SessionTimeout: 3Afnhgw9fh104D38718 -----> And this second session dies with timeout because it is created alone. 09:19:51 [MainModule]:Destroy: 3Afnhgw9fh104D38718 Link Example If we follow the log, we can see that session 3Afnhgw9fh104D38718 is created alone and is not shown. If you need more information, let me know. Please let me know if it is an unigui problem or my mistake. Thank you Quote Link to comment Share on other sites More sharing options...
Neeruu Posted October 22, 2019 Author Share Posted October 22, 2019 Hi, could you see the problem? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 22, 2019 Share Posted October 22, 2019 Hello, I'm not getting same result with you. I just opened web page, closed and session purged. Also opened a ghost session (Close browser before loading fully) and it purged after session timeout. You can check session count from http://localhost:8077/server Quote Link to comment Share on other sites More sharing options...
picyka Posted October 22, 2019 Share Posted October 22, 2019 (edited) Faça o mesmo teste em um telefone, não morra sessão! Edited October 22, 2019 by picyka Quote Link to comment Share on other sites More sharing options...
picyka Posted October 22, 2019 Share Posted October 22, 2019 Quote Link to comment Share on other sites More sharing options...
Neeruu Posted October 22, 2019 Author Share Posted October 22, 2019 But why is that ghost session created? ... Consume resources ... Look at the log ... Do you also have the ghost session? That ghost session should not be created ... please someone explain to me, thanks Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 23, 2019 Share Posted October 23, 2019 4 hours ago, Neeruu said: But why is that ghost session created? ... Consume resources ... Look at the log ... Do you also have the ghost session? That ghost session should not be created ... please someone explain to me, thanks I created ghost session for testing. Ghost sessions means browse localhost:8077, before form load close the page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.