I wrote some code that does a form post to a website, which works (I get the html back, and I save it in a file). Other pages, though, use cookie authentication. So if I do a form post with my userid and password, I just get the html back that says "turn cookies ON or you can't use these pages".
Question: How do I handle cookies if I'm the client?
Additional related question...
How does one monitor the cookie activity of the browser? Is there some kind of logger out there that shows what's showing up at the browser, and what the browser is sending back? This would prove very helpful in coding client side cookie handling.
(increased points due to additional work).