tcoates Posted April 3, 2017 Share Posted April 3, 2017 In a unigui desktop program we have the ajaxTimeOut set to 60000 and sessionTimeOut set to 1800000. The person doing the demo of our program to a customer said that after doing nothing for 2 minutes when they clicked on a link in the program were redirected to the page indicating a session expired. Logically, this would be the ajaxTimeOut property? Please confirm. And if so, what is the largest time I can set this parameter to? On a related manner, when the session does in fact timeout, rather than display a page that shows the session expired that has the link to restart the program - which in our case goes to a login page, is it possible to redirect the user login page instead as that would save the user from having to click on the link? If not, can we change the text and background on the page that is displayed when the session expires? thanks in advance, Tim Link to comment Share on other sites More sharing options...
Sherzod Posted April 3, 2017 Share Posted April 3, 2017 Hi, Which version and build are you using? Link to comment Share on other sites More sharing options...
Sherzod Posted April 3, 2017 Share Posted April 3, 2017 Can you confirm this by doing a test yourself ? Maybe you have set 180 000 instead of 1 800 000 ? Link to comment Share on other sites More sharing options...
ygerdel Posted October 22, 2019 Share Posted October 22, 2019 hi, The same thing is happening to me. I have set ajaxTimeOut = 30000 and sessionTimeOut = 60000. Sometimes the session closes at 10 min, sometimes it closes in less time. Why does this happen? Link to comment Share on other sites More sharing options...
Sherzod Posted October 22, 2019 Share Posted October 22, 2019 4 minutes ago, ygerdel said: sessionTimeOut = 60000 60000=60sec=1min 600000=10min - it's by default Link to comment Share on other sites More sharing options...
ygerdel Posted October 22, 2019 Share Posted October 22, 2019 excuse me, I have set sessionTimeOut = 600000, but sometimes the session expires at 10 min, sometimes before 10 min Link to comment Share on other sites More sharing options...
Sherzod Posted October 22, 2019 Share Posted October 22, 2019 4 minutes ago, ygerdel said: sometimes before 10 min Exactly how much less than ten minutes? Link to comment Share on other sites More sharing options...
ygerdel Posted October 22, 2019 Share Posted October 22, 2019 It behaves in different ways, it has expired in different periods of time before the 10 min. Is there any other property to set? Link to comment Share on other sites More sharing options...
andyhill Posted October 22, 2019 Share Posted October 22, 2019 This has been a problem for some time and is amplified (worse) on iOS. See my older post "iPhone iOS 13 Web Page Session Timeouts" Link to comment Share on other sites More sharing options...
jahlxx Posted October 23, 2019 Share Posted October 23, 2019 Hi. Is possible unlimited ajaxTimeOut and sessionTimeOut ? Thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted October 23, 2019 Share Posted October 23, 2019 Just now, jahlxx said: Is possible unlimited sessionTimeOut ? Hi, For SessionTimeOut you can also use UniMainModule -> OnSessionTimeout event. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 23, 2019 Administrators Share Posted October 23, 2019 48 minutes ago, jahlxx said: Hi. Is possible unlimited ajaxTimeOut and sessionTimeOut ? Thanks. For session time out You can put a timer and set dummyEvents property to True. Unlimted AjaxTimeout is not recommended. 1 Link to comment Share on other sites More sharing options...
jahlxx Posted October 24, 2019 Share Posted October 24, 2019 19 hours ago, Farshad Mohajeri said: For session time out You can put a timer and set dummyEvents property to True. Ok. where? mainmodule? servermodule? And just putting a timer and setting that property to true? With no aditional code? Please clarify. Thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted October 24, 2019 Share Posted October 24, 2019 3 minutes ago, jahlxx said: And just putting a timer and setting that property to true? With no aditional code? Yes. Link to comment Share on other sites More sharing options...
ygerdel Posted October 29, 2019 Share Posted October 29, 2019 On 10/22/2019 at 4:03 PM, Sherzod said: Exactly how much less than ten minutes? sometimes the session expires before the established time (the time is variable) even if the application is being used. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now