Hello, Steve, Thanks a lot. I think you have almost found the real problem here. You are right, cookies have been set and link has been redirected to a new link, /sg1dgp9/tbiappt300/TbiaStatelessErrorPage, but this link, showing the error page, is not the expected url. The error page 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. " That's why I think the problem is coming form cookies settings, and I did too much stuff for cookies, but unfortunately, it still doesn't work. I will send one more email to summarize what I have done and describe the problem in details. Thanks for your help. Tom ---------------------------------------------------------------------------------------------------------------------------- old messages: >>>>>>>> >>>>>>>> Hi Tom, This is a little verbose, but our product that uses httpclient reaches the logon page with the cookes from the second(logon frame) link. We manage cookies externally to httpclient and sort-of emulate stepping through the browser. Here is the final link, request, 302 response, request, 200 response and start of html. This shows the cookies being sent and that there is a redirect that also sends the cookies, and that the cookies are included on the request after the 302 redirect. It looks like the logon frame link should be the first required link. -------------------------------------------------------------- https://lb32.resources.hewitt.com/sg1dgp9/tbiappt300/TbiaStatelessErrorPage?nodeId=HttpCookiesNotSupportedPage &u=1095807998521&clientId=09813&emClientId=&remoteServer=false&sslActive=true&create=1095807997884&isSSO=false &isYTR=false&ulDt=1095807998521&ius=t SITESCOPE HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST GET /sg1dgp9/tbiappt300/TbiaAuthPage?Submit=Log+On&clientId=09813&emClientId=&create=1095807997884&remoteServer=fa lse&bp=false&sslActive=true&QATest=null&nodeId=EnterTheSitePage&u=1095807997885&wdw=YBRPrimary&JavaScriptEnabl ed=FALSE&lDt=&ulDt=&fn=GreetingPage&fWdw=YBRPrimary&isSSO=false&isYTR=false&%5EuniqueValue=1095807997887&%5Een dOfForm=EOF HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) Pragma: No-Cache Referer: http://lb32.resources.hewitt.com/sg1dgp9/tbiappt300?nodeId=GreetingPage&clientId=09813&endReferer Accept-charset: Cp1252 Accept: */* Host: lb32.resources.hewitt.com Cookie: YBR_PROFILE=09813:1095807997933:15:false:YBRSessTS1095807997884; JSESSIONID_SG1_DGP9=0001LKW3Y0IG21QEAWQYEOX5CHQ:uvjpor1h SITESCOPE BLANK LINE SITESCOPE HTTP RESPONSE HEADERS HTTP/1.0 302 Found Date: Tue, 21 Sep 2004 23:06:38 GMT Server: Apache Set-Cookie: JSESSIONID_SG1_DGP9=0001IQS44Z2S5T4YRU3AGLDY2AA:uvjpor1h;Path=/; Secure Cache-Control: no-cache="set-cookie,set-cookie2" Expires: Thu, 01 Dec 1994 16:00:00 GMT Set-Cookie: JSESSIONID_SG1_DGP9=0001CVRR05MUKKZ3UNOMW1J3ERA:uvjpor1h;Path=/; Secure Set-Cookie: YBR_PROFILE=09813:1095807998533:15:false:YBRSessTS1095807998510;Path=/sg1dgp9; Secure Location: /sg1dgp9/tbiappt300/TbiaStatelessErrorPage?nodeId=HttpCookiesNotSupportedPage&u=1095807998521&clientId=09813&e mClientId=&remoteServer=false&sslActive=true&create=1095807997884&isSSO=false&isYTR=false&ulDt=1095807998521&i us=t P3P: policyref=https://cache.hewitt.com/base/p3p/p3p.xml Content-Length: 0 Connection: close Content-Type: Content-Language: en SITESCOPE HTTP RESPONSE BODY SITESCOPE BLANK LINE SITESCOPE HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST GET /sg1dgp9/tbiappt300/TbiaStatelessErrorPage?nodeId=HttpCookiesNotSupportedPage&u=1095807998521&clientId=09813&e mClientId=&remoteServer=false&sslActive=true&create=1095807997884&isSSO=false&isYTR=false&ulDt=1095807998521&i us=t HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) Accept-charset: Cp1252 Accept: */* Host: lb32.resources.hewitt.com Cookie: YBR_PROFILE=09813:1095807998533:15:false:YBRSessTS1095807998510; JSESSIONID_SG1_DGP9=0001CVRR05MUKKZ3UNOMW1J3ERA:uvjpor1h SITESCOPE BLANK LINE SITESCOPE HTTP RESPONSE HEADERS HTTP/1.0 200 OK Date: Tue, 21 Sep 2004 23:06:38 GMT Server: Apache Set-Cookie: JSESSIONID_SG1_DGP9=0001T1R54T0IRBPVDEY0I50QMTI:uvjpor1h;Path=/; Secure Cache-Control: no-cache Expires: Thu, 1 Jan 1970 00:00:00 GMT Set-Cookie: YBR_PROFILE=09813:1095807998955:15:false:YBRSessTS1095807997884;Path=/sg1dgp9; Secure Pragma: no-cache P3P: policyref=https://cache.hewitt.com/base/p3p/p3p.xml Connection: close Content-Type: text/html Content-Language: en SITESCOPE HTTP RESPONSE BODY <html><HEAD><meta NAME="Spider-Directive" CONTENT="linkId=HttpCookiesNotSupportedPage;accessibility=NEVER" /><TITLE>Error: This site requires HTTP header cookies to identify transaction requests.</TITLE><SCRIPT LANGUAGE="JavaScript"> function getLoadTimestamp() -----Original Message----- From: tom yin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 4:44 PM To: Commons HttpClient Project Subject: RE: url is Re: How to accept cookies in HttpClient. Hi, Michael, Thanks a lot for your info. It's weired...In my computer, after I clean cookies, I will go to the error page if I click the link in this mail directly, but go to the right login page if I copy the link to the address bar and press enter key. The initial link is link1, http://resources.hewitt.com/jpmc/ , which will be automatically redirected to link 2, http://lb32.resources.hewitt.com/sg1dgp9/tbiappt300?nodeId=GreetingPage&clientId=09813 , Then when you click logon button, you can go to the link3 (the link I mentioned in my last email, this is the login page.) I can go to link2 by using HttpClient, but I will go to the
--------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today!