We have a part of our website which is coded in classic asp. This takes the values of a login page (asp.net) which uses
<input type="text" /> to hold the values and then submit them to the asp page using the following line of code -
<input type="submit" value="Login" onClick="this.form.action='<%= SubmitURL() %>/login/login_user.asp?Type=Login&this.form.encoding='application/x-www-form-urlencoded'; this.form.submit();" />
The asp page then retrieves the values using the code -
Value1 = Request.Form("Val1")
We now have a requirement to pre-populate the login values to provide an automated login process but don't want to change the older asp code. When we try to assign values to the input text in the asp.net page by assigning the value runat="server" the login fails as it does not seem to carry over when the page is submitted.
Is there a way where we can pre-populate the html textbox without making it unavailable to the asp page?
View Complete Post