LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-Jul-2003, 01:29 PM
andy
NNTP User
 
Posts: n/a
Default Nscript help

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<




Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 05:42 AM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2