Solved

Getting past initial login page using httpclient

Posted on 2004-09-26
3
356 Views
Last Modified: 2010-03-31
I'm using httpclient to log into my mail.ru web-mail account and so far, so good.  I can get past the login screen no problem and it returns the inbox page to me displaying my folders and the number of messages in each.  I would like to go to my inbox and parse the contents there for certain people.  I can do the parsing myself, but I'm 100% unsure how to navigate to that page while maintaining my current login.

I assume this is to be done using cookies???

Thanks,
David
0
Comment
Question by:lomidien
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 12156796
Depends on how the session is maintained, most probably the session id is passed as a cookie.
0
 

Author Comment

by:lomidien
ID: 12156801
Strange, while I was waiting for you to check out this question, I just added another post method to the inbox directory after posting the initial login and it goes there no problem.  I didn't have to handle any sessionids in a cookie or anything.  Hmmmm  Well good anyways and you'll get the points.  You always help out so you're more than deserving.  

Thanks again objects!!
0
 
LVL 92

Expert Comment

by:objects
ID: 12156818
httpclient may be handling the cookie passing for you.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now