?
Solved

Getting past initial login page using httpclient

Posted on 2004-09-26
3
Medium Priority
?
363 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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:
Suggested Courses
Course of the Month9 days, 20 hours left to enroll

762 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