I am trying to use Nscript to redirect users to there own private
home page. I am trying to use the script below but when it redirects
to the
Url I get the below error message.
THIS SERVER IS NOT SECURE.
Logins using your NDS user name & password have been disabled by youradministrator! To access this page, type HTTPS instead of http at thebeginning of the URL.
Even though in my code I am specifying https when declaring my
variable. If
I substitute https:\\
www.help.com\username for the Url in the script
below
the redirect works fine. I have also tried unsuccessfully to use
redirect using
response.redirect "https://www.help.com/" & authUser
But I receive the same error message. Any idea why it keeps jumping
back to http instead of https?
>script language="NScript"<
on error resume next
authUser = Request("AUTH_USER")
Dim Url
Url = "https://www.help.com/"
Dim User
User = authUser
Url = Url + User
if (authUser <> "") then
response.redirect Url
else
response.redirect "http://www.help.com/nohome.htm"
end if
>/SCRIPT<
>html<
>head<
>title></title<
>/head<
>body<
>p>This page was intentionally left blank
><%=authUser%<
>/body<
>/html<