Jump to content

Recommended Posts

Posted

Hi,

in Intraweb we can terminate the App and redirect the connection WebApplication.TerminateAndRedirect('http://') is 

there any similar procedure in UniGui?

 

Regards

 

Posted

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.

Posted

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.

Posted

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

Posted
UniSession.Terminate('<script>window.location.href = "http://google.com";</script>');

It will terminate the session and redirect the user to specific URL.

  • Upvote 1
Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...