I am testing against a recent version of iMIS 15.1. My goal is to redirect a person to an external URL after logging in. I am passing http://www.cnn.com/ in via "ReturnUrl" (I also tested "ReturnURL") as a test case. So far my test (see below) results in the ReturnUrl being ignored:
AsiCommon/Controls/Shared/FormsAuthentication/Login.aspx?ReturnUrl=http%3A%2F%2Fwww.cnn.com%2F
Does anyone know how to get this Login.aspx page to redirect to an external URL?
Thank you,
-Dale
--
__________________________________
Dale John McGrew, President & CTO
GoLightly, Inc. - Powering Social Networking for iMIS
www.golightly.com
Dale.McGrew@golightly.com
Dale, we do not allow
Dale, we do not allow absolute redirects from the login page (ref. SMR #165280). However, there is a simple workaround: create an ASPX page that does a redirect to the URL you want to send the user to (sample code below), put that page in the root of your application server's Program Files\ASI\iMIS15\Net directory, and pass the ReturnUrl as %2fimis15%2fRedirectPage.aspx.
Sample RedirectPage.aspx:
<%@ Page language="c#" %> <script runat="server"> protected void Page_Load(object sender, System.EventArgs e) { Response.Redirect("http://www.cnn.com/", true); } </script>