AMIT Posted April 15, 2018 Share Posted April 15, 2018 When the session expire or user close the mainform or login form, it will display the message "Web Session Terminated. Restart application?" I want to have the dialog box instead that give the option to the user to re-login or go to the browser home page. Is it possible to do that? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2018 Share Posted April 15, 2018 UniServerModule -> Options -> soRestartSessionOnTimeout = True Quote Link to comment Share on other sites More sharing options...
AMIT Posted April 15, 2018 Author Share Posted April 15, 2018 Is it possible to Redirect to Browser Home Page when user close the application instead of displaying the "Web Session Terminated..." ? Quote Link to comment Share on other sites More sharing options...
AMIT Posted April 15, 2018 Author Share Posted April 15, 2018 OK I got it. Just put this code "<meta http-equiv="refresh" content="0; URL='http://www.google.com'"/> in MainModule.Servermessages.TerminateTemplate 1 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.