I am using c# to accomplish the following:
- Post data to a page (using HttpWebRequest).
- Get the response (redirected to another page by the posted data).
- Post the further data to the response page.
I am able to accomplish the first 2 steps, but I cannot get the 3rd step to work because it always takes me back to the beginning page. I have tried using a CookieCollection
and transferring the cookies from the first request to the second, but it did not solve the problem. Any ideas on how to make it work?
Thank you very much in advance!
You can try with PostBackUrl