dieger Posted February 10, 2012 Posted February 10, 2012 Hi Mr. Farshad, What is the best place (event) to block a session start? I want to test if my application to receive a particular parameter, then start, otherwise I block the session to start and redirect to another app. Thanks. Quote
docjones Posted February 11, 2012 Posted February 11, 2012 http://forums.unigui.com/index.php?/topic/1620-balancing-sessions/ redirect on terminate UniServerModule.ServerMessages.TerminateTemplate.Text := '<script>location.href=''http://google.com''</script>'; and to terminate session Unisession.UniApplication.Terminate Quote
dieger Posted February 11, 2012 Author Posted February 11, 2012 Hi docjones, thanks for your reply. I had tried the above option, but when I change the property UniServerModule.ServerMessages.TerminateTemplate.Text, this reflects in all other sessions. My goal is just to change this option but reflect only the current session. It would be like having a TerminateTemplate for each session and could not do it that way. 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.