Hi all, the title of my topic is a copy from an old message posted by Grey Allen, about twenty days ago.
As Grey, I am trying to programatically POST an ASP form, to allow me to log on to a site programatically. It is exactly the same problem. The code, I've written in Java, works for php, etc.., but not for ASP pages.
The reply that Grey got to his message was:
"if this is a asp.net site, you need to also send the __VIEWSTATE with
the post. you can not hard code this. you must do a get, and parse the
html to get a valid _VIEWSTATE to send with the post. depending on how
the page was written, you may need to send _EVENTTARGET (say the login
is a link button)."
How exactly should I do that - the bold excerpt???
thanks,
hendrik