Posted on: 1/7/2015 5:20:04 PM | Views : 513

I have an aspx login form that's running on site A, I need to create a basic HTML-only form (no .net) on site B that remotely logs into the form on site A.  I've successfully done this with the below code, but I have to keep the references to the viewstate value and event validation key.  While this works now my concern is sometime down the road those values will change and the remote form will break.  Is there a better way to remotely submit this form?  iFrames are not an option and I need an HTML-only solution.
Edit: I completely control the site A server and am writing the HTML code for the client that runs site B, in case that matters.  i.e. if I needed to create a new site A server-side page specifically for this I could do that.
Thanks

<html> <body> <form name="form1" method="post" action="URL-Of-Remote-Form.aspx" id="form1"> & ...

Go to the complete details ...