Yes I have modified the post data, as I said above. username=XXXXXXXX&password=XXXXXXXX
Url = https://www.betfair.com/account/login/LoginAction.do
As I said, I get a one of two errors by running your code repeatedly.
One error is that the Status is 302 and the Location is 'http://betfair.comnull'.
The other error is that the Status is 200, but there is no Location returned.
