I have stuck in a satiation and found no work around since last couple of hours, I have a form html stored in a string in VB.NET.
Dim form as string = <form id="PostForm" name="PostForm" action="https://www.example.com" method="POST"><input type="hidden" name="1" value="1"><input type="hidden" name="2" value="2"></form>
and then I am adding a script pro-grammatically in this string
form += "<script>PostForm.submit();
on a button click I generate this form and then assign this to a literal control like
Page.Controls.Add(New LiteralControl(form))
It submits the form and redirects to desire site example.com, I need to clear that literal control before redirecting from my page, because once form is added in html and user press back button of browser it renders the form again and submit the form specially in IE.