This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm writing a small Java application that logs in to my mail.com webmail account and retrives the new message headers if any. By http POSTing I've managed to log in but the webmail service relies on a cookie being present. So when I try to GET the page on which the new mails are listed mail.com thinks I'm logged out since it can't read the cookie. How to I manage cookies in Java? It should be possible since there are Java web browsers (i think...). Greatful for any tips and ideas! /Jan Andersson
Aha, that RFQ should do it... So subsequent requests after logging in should include:
Dirk: No problem. But right now it doesn't do much besides logging in. I need to fix this cookie thing before seeing any results. I�ll get back to you then. [ February 22, 2002: Message edited by: Jan Andersson ]