Missing __VIEWSTATE

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm trying to automate response to an external website.
The login page does not provide the __VIEWSTATE information.
When I use WebBrowser I can automate the login but my real aim is to
use HttpWebRequest. I created a test form and my code is working fine
but with that external page it fails as there is no __VIEWSTATE.
Adding blank __VIEWSTATE does not help.


How is it possible that WebBrowser can cope with such page but
HttpWebRequest is failing?

MH
.



Relevant Pages

  • Re: Missing __VIEWSTATE
    ... The login page does not provide the __VIEWSTATE information. ... When I use WebBrowser I can automate the login but my real aim is to ... The value of this control is generated by the server, ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Multiple copies of webbrowser control and site logins
    ... > I have several processes accessing a website, each through a webbrowser ... I do not need to login to the site to access any information. ... > one webbrowser control are all the other instances automatically logged ... > semaphore to make sure I limit concurrent requests to a minimum. ...
    (microsoft.public.vc.mfc)
  • Re: Multiple copies of webbrowser control and site logins
    ... > I have several processes accessing a website, each through a webbrowser ... I do not need to login to the site to access any information. ... > one webbrowser control are all the other instances automatically logged ... > semaphore to make sure I limit concurrent requests to a minimum. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Automating signin/download file from website
    ... You haven't described the problems using webbrowser. ... > I'm doing this as if browsing from a user standpoint. ... I used the execute method to post the username/pwd to the login ... >> I assume you're trying to do this client side, not server side, correct? ...
    (microsoft.public.vb.general.discussion)
  • Multiple copies of webbrowser control and site logins
    ... I have several processes accessing a website, each through a webbrowser ... I do not need to login to the site to access any information. ... one webbrowser control are all the other instances automatically logged in? ... semaphore to make sure I limit concurrent requests to a minimum. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)