Solved

Getting past initial login page using httpclient

Posted on 2004-09-26
3
357 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 83
simple java question 3 44
object oriented programming comparison 5 55
expectj telnet failing 5 26
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

896 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

15 Experts available now in Live!

Get 1:1 Help Now