0
Answer

Posting form values Http to Https

Ask a question
Mike Belcher

Mike Belcher

17y
2.1k
1
I have tried a bunch of things………. I seem to loose the Request.form values when it posts to the page. I am using a regular html form as the runat=server doesn’t not allow the action tag and I did try postbackurl but again I seem to loose the values of the request.form objects.



Simple Form:
<form method='POST' name='Profile' action='https://www.thewebsite.com/Subscribe-Order.aspx'>
<input type='hidden' name='Type' value='Profile' size='20'>
<input type='hidden' name='Username' value='commonuser' size='20'>
<input type='submit' value='Click here to BEGIN' name='ButtonSubscribeProfile'></form>


When posting this I cannot retrieve:
Request.form(“Username”)
Request.form(“Type”)

They seem to just be discarded.

I can do this stuff with a querystring but am trying to do it without showing the values in the url……… I install msxml 6.0 and tried things with that and nothing goes I have tried a bunch of things. Of course server.transfer doesn’t work as when you go from http to https it errors out.  

GOAL:
to click a button on a http page and send some values in request.form or any other way to a https order form page.