1

I've now realised that everything I just had up was garbage. My problem is that after I do my POST to the php login script, the response coming back doesn't contain the "key" (Set-Cookie:amember_nr=blah) that I need. Without it the main php script can't verify me and thinks I am not logged in. I've even recreated an entire GET and POST header from my browser and tried using those, but still nothing. Any ideas why this would be happening? I'm using Apache Commons HttpClient.

1
  • What are you trying to achieve? Can you provide the relevant code (both Java and PHP) that you're using? Dec 4, 2010 at 0:10

1 Answer 1

0

Solved using the HtmlUnit API. Handy API, even though I am only kind of using it for what it is meant for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.