bahry Posted January 30, 2017 Posted January 30, 2017 Hi, in Intraweb we can terminate the App and redirect the connection WebApplication.TerminateAndRedirect('http://') is there any similar procedure in UniGui? Regards Quote
mhmda Posted January 30, 2017 Posted January 30, 2017 You can use js code to redirect the user to other site. Closing the app! is not good idea it is a web app. Why you want to close it, unless you mean 'session' then after redirect there is a timeout interval and then the session will close auto. Quote
mhmda Posted January 30, 2017 Posted January 30, 2017 A long time ago we purchased Intraweb and we stated to use it in our web apps UNTIL we met uniGUI and from the first date we ported all our web apps and future projects to uniGUI, we have developed a large scale apps and it is working good. Quote
bahry Posted January 30, 2017 Author Posted January 30, 2017 Dea Mohammad, You can use js code to redirect the user to other site. Closing the app! is not good idea it is a web app. Why you want to close it, unless you mean 'session' then after redirect there is a timeout interval and then the session will close auto. Yes that's true, but I need to put a logout button when the user press it, it will terminate it's session and direct him to the "Lets say" company main Page. Regards Quote
mhmda Posted January 30, 2017 Posted January 30, 2017 UniSession.Terminate('<script>window.location.href = "http://google.com";</script>'); It will terminate the session and redirect the user to specific URL. 1 Quote
bahry Posted January 31, 2017 Author Posted January 31, 2017 UniSession.Terminate('<script>window.location.href = "http://google.com";</script>'); It will terminate the session and redirect the user to specific URL. Dear Mohammad, Very Thanks. Regards 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.