Hi. I am trying to make a simple C# WinForms app to get some data from a web site. It all works well until i got to a site where i can not directly go to the page i want. So, when i request the url (whether in C# or in a browser) i get redirected to a disclaimer page where i should click "I accept" to get in. And once i do, it doesn't redirect me to the url i previously entered, but the home page instead. So, i am looking for a way to press the button in code and go to the proper page all day long with no luck. And yes... i did google for an answer, but somehow i can't make heads or tails out of it. I know how to do POST with HttpWebRequest, but i guess i am missing something.
Here is the page i want to get:
http://pdonline.brisba ne.qld.gov.au/masterview/modules/applicationmast er/default.aspx?pa ge=wrapper&key= A001617250
When i point to that url, i get his one:
http://pdonline.brisba ne.qld.gov.au/masterview/masterplan/enquirer/default.aspx?pa ge=disclaimer
where "I accept" button is.
Thanks for any help in advance. Please let me know if you need more details.
Cheers
Here is the page i want to get:
http://pdonline.brisba ne.qld.gov.au/masterview/modules/applicationmast er/default.aspx?pa ge=wrapper&key= A001617250
When i point to that url, i get his one:
http://pdonline.brisba ne.qld.gov.au/masterview/masterplan/enquirer/default.aspx?pa ge=disclaimer
where "I accept" button is.
Thanks for any help in advance. Please let me know if you need more details.
Cheers
Comment