Solved

Getting past initial login page using httpclient

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
check java version using powershell 13 461
going to wrong jsp page 2 69
dao vs facade design patterns 2 69
junit initializtion error 2 20
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

734 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