Fateh78 Posted March 23, 2018 Posted March 23, 2018 i am trying to evaluate UniGui as web app development tool, and have 2 points / questions : 1- Why page refresh starts new session instead of re-rendering the page, can we allow user to refresh page without lossing session data ?? 2- I noticed that some button clicks executes directly and some times take a while (1-2 secods) to execute, and user can feel this behavior, it seems like there is a timer listening to user clicks , if user click at timer then executes directly otherwise take a while. best regards Quote
Administrators Farshad Mohajeri Posted March 26, 2018 Administrators Posted March 26, 2018 Hi, 1) uniGUI sessions are stateful. A session can not be simply re-rendered for many reasons. 2) Button events are executed directly. There is no delay. There may be other issues which may delay it. For example communication between server and browser. Sometimes the server side execution may take time when CPU is busy with other tasks. Quote
rgreat Posted March 26, 2018 Posted March 26, 2018 1- Why page refresh starts new session instead of re-rendering the page, can we allow user to refresh page without lossing session data ?? You could handle page refresh yourself with advanced scripting. Quote
Fateh78 Posted March 27, 2018 Author Posted March 27, 2018 You could handle page refresh yourself with advanced scripting. you mean disable browser refresh button Quote
Administrators Farshad Mohajeri Posted March 27, 2018 Administrators Posted March 27, 2018 you mean disable browser refresh button You can set the BackButtonAction in MainModule to warn user about this. Quote
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.