Jump to content

Recommended Posts

Posted

Got an app working fine..

When I close the last form, I get a "Restart application" link.. Id like to redirect the browser to my main page after my main form closes.. How do i do that?

 

thanks in advance..

 

Gordon

Posted

 

 

Thanks , I see it now.. but in looking at the code..

 

<html>

<body bgcolor="#dfe8f6">

<p style="text-align:center;color:#0000A0">[###message###]</p>

<p style="text-align:center;color:#A05050"><a href="[###url###]">Restart application</a></p>

</body>

</html>

 

How do i assign the vars "URL" and "messagre" in this code to send back to the browser?

 

Gordon

  • 2 years later...
Posted

Hi,

 

I am using this:

 

UniserverModule.Servermessages.TerminateTemplate:

 

[###url###]  <-- With this i getting url with parameters.

 

Also you can change [###url###] to requested url. Like : location.href = "http://forums.unigui.com/";

<html>
<script>
function redirect() {
    location.href = "[###url###]";
}
 window.onpaint = redirect();
</script>
<body bgcolor="#dfe8f6">
</body>
</html>

  • Upvote 1

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...