|Subject:||Some issues with http (indy 10)|
|Posted by:||Caleb (no…@hotmail.com)|
|Date:||Sun, 18 Jul 2004|
I'm trying to log in to a site and the site keeps rejecting me all the time
I've been closely monitoring the headers (sent/recieved) by IE with two
programs and tried replicating the same with IdHttp.
1) Get request, followed by a post, followed by a GET will result in the
"Content-Type: application/x-www-form-urlencoded" header being included in
2) I send a Get to the login page, then I send a POST to the login page with
the EXACT same post data. In both IE and Indy I recieve a 100 Continue
Afterwards IE does a GET on some page and in the 200 OK response of that
page it sets the UserID cookie.
I tried doing that GET right after doing the POST to the login page (with
the content-type set to none) but the cookie isnt set and instead i get a
302 which redirects me back to the login page.
For each page I send the correct referer too.. I don't understand why it
should be doing this !