Hi Tom,

I cannot access it also with my IE. Your sure you have no cookies in IE?
I mean there are lots of id's in the url, usually they're checked if they
fit to your cookies.

R.

-----Original Message-----
From: Steve Johnson [mailto:[EMAIL PROTECTED] 
Sent: 22 September 2004 00:23
To: 'Commons HttpClient Project'
Subject: RE: url is Re: How to accept cookies in HttpClient.

Hi Tom,

I get the same error page from Netscape, are you going through a proxy in
IE?

Thanks,
Steve

-----Original Message-----
From: tom yin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 3:37 PM
To: [EMAIL PROTECTED]
Subject: url is Re: How to accept cookies in HttpClient.

Hello, 
 
I've forgotten to tell you guys the url, which is:
 
https://lb32.resources.hewitt.com/sg1dgp9/tbiappt300/TbiaAuthPage?Submit=Log
+On&clientId=09813&emClientId=&cre
ate=1095797686983&remoteServer=false&bp=false&sslActive=true&QATest=null&nod
eId=EnterTheSitePage&u=10957976869
83&wdw=YBRPrimary&JavaScriptEnabled=TRUE&lDt=1095797520203&ulDt=109580176092
1&fn=GreetingPage&fWdw=YBRPrimary&
isSSO=false&isYTR=false&%5EuniqueValue=1095797686985&%5EendOfForm=EOF
 
I can reach the login page by accessing this url in IE, but can not by
httpClient. If any comments, I will
appreciate it. 
 
Thanks.
Tom

tom yin <[EMAIL PROTECTED]> wrote:
Hi, All,

I got a problem when I try to go to a login page of a website. My code is
like this:
GetMethod defaultpage = new GetMethod(link);
//defaultpage.setFollowRedirects(true);
defaultpage.setQueryString(nameValuePairs);
//defaultpage.setRequestBody(nameValuePairs);
client.executeMethod(defaultpage);
It's very simple, but I can not go to the login page expected, but
redirected to an error page, which has the
following information:

You've received this message for one of the following reasons: 
The Enter the Site page is bookmarked or added to your favorites. If so,
please delete that bookmark. You can
bookmark the Welcome page instead. 

Your browser doesn't support cookies, or you've set your browser to not
accept cookies. Please use one of the
recommended browsers or set your browser preferences to accept cookies.
Contact your browser developer (for
example, Microsoft or Netscape) if you need help setting your browser
preferences. 

Is this a cookies problem? If I reach the website by IE, no problem happens.
Please help. Thanks.




---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to