Configuring the WebLink 9 Login Page To Retain A Non-Default Port Value In A Redirect URL.

June 15, 2015 | KB: 1013651
WebLink 9

Summary

By default, WebLink 9 is configured to return the absolute path during an internal redirect. In certain network and firewall configurations where WebLink and IIS are not running on the default port, WebLink may not display correctly.

Workaround

Manually modify Login.aspx.vb to change the redirect path and recompile the WebLink project.

  1. Browse to the Web Files subfolder of the WebLink installation folder. By default, browse to C:\Program Files\Laserfiche\WebLink\Web Files. Use a text editor to open Login.aspx.vb.
  2. Look for the following line:

    Response.Redirect("~/CookieCheck.aspx?redirect=" & Server.UrlEncode(Request.Url.AbsoluteUri))

    around line 395.
  3. Modify Request.Url.AbsoluteUri to be Request.Url.PathAndQuery. The line should look like the following:

    Response.Redirect("~/CookieCheck.aspx?redirect=" & Server.UrlEncode(Request.Url.PathAndQuery))