xcaliber2222
Programmer
Hello,
I have a Classic ASP page that takes a user_id and password then does a form post to the next page. I have an ASP.NET page that has a link to this page, and this works fine. I am trying to pass the user_id and password to the Classic ASP page but it isn't taking the params I'm passing it. I've tried adding these directly in the url address:
but I just get "page cannot be found". Is there something I need to do on the Classic ASP page to accept these parameters? There is also an ssl.asp include which is being used by the Classis ASP page, but I don't think that's the problem. here is the code for that:
If anyone can give me some advice or suggestions I would really appreciate your time.
Thanks,
Alejandro
I have a Classic ASP page that takes a user_id and password then does a form post to the next page. I have an ASP.NET page that has a link to this page, and this works fine. I am trying to pass the user_id and password to the Classic ASP page but it isn't taking the params I'm passing it. I've tried adding these directly in the url address:
but I just get "page cannot be found". Is there something I need to do on the Classic ASP page to accept these parameters? There is also an ssl.asp include which is being used by the Classis ASP page, but I don't think that's the problem. here is the code for that:
Code:
<%
if Request.ServerVariables("LOCAL_ADDR") = "X.X.X.11" then
if Request.ServerVariables("SERVER_PORT") = 80 then
Dim strSecureURL
strSecureURL = "[URL unfurl="true"]https://"[/URL]
strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
strSecureURL = strSecureURL & Request.ServerVariables("URL")
if (Request.ServerVariables("QUERY_STRING") <> "") then
strSecureURL = strSecureURL & "?" & Request.ServerVariables("QUERY_STRING")
end if
Response.Redirect strSecureURL
end if
end if
%>
If anyone can give me some advice or suggestions I would really appreciate your time.
Thanks,
Alejandro