On Wed, 2011-03-09 at 15:22 -0800, Desholo wrote: > ...
> Thanks for help Oleg! I would like to understand how HttpClient works, so I > created locally a simple login form with php, without any cookie or session > variable. > I'm unable to understand if the code above works! > This is what I get from the debug outputs: > > Login form get: HTTP/1.1 200 OK > Post logon cookies: > None > > What interest me most is to know how to see if the POST request is > successful or not. And so i would like to retrieve the HTML code of the > response page. > There is simply no one standard way. Different sites may have different ways of doing user authentication and managing application state. Most likely you will need to parse HTML content returned by the server in order to make a decision whether or not the authentication was successful. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
