WinInet: Open an URL simulating HTML Form POST
-
Hi, There is a site with a page containing an HTML form for accessing private areas. This form requests an username and password to login. I need to programmatically send username and password to the destination page of the form using POST method (to download an automatically generated file contained into the site reserved area). This is not very hard to do I think, but my question is: whenever login succeeded (the destination page of the form has accepted and verified username/password sent and probably that page redirects to another page, which should be the reserved area, on successfull login), is there a way to request a page from the reserved area ? The 'user' is still logged in for the server between a WinInet request and the next one ? (who manages the session and cookies to mantain the user logged?) Thanks