Solved

Getting past initial login page using httpclient

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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
GUI builder for Eclipse? 8 35
eclipse shortcuts 9 54
HTTPSessionBindingListernter not configured in deployment descriptor 2 53
difference of if loops 23 49
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

770 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