Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 33057 invoked from network); 3 Mar 2006 20:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Mar 2006 20:56:41 -0000 Received: (qmail 20606 invoked by uid 500); 3 Mar 2006 20:57:28 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 20378 invoked by uid 500); 3 Mar 2006 20:57:27 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 20367 invoked by uid 99); 3 Mar 2006 20:57:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 12:57:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.227.126.187] (HELO moutng.kundenserver.de) (212.227.126.187) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 12:57:26 -0800 Received: from [85.180.46.144] (helo=[85.180.46.144]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1FFHKj1jtD-0007Dy; Fri, 03 Mar 2006 21:57:05 +0100 Message-ID: <4408ADD3.1060603@dubioso.net> Date: Fri, 03 Mar 2006 21:57:55 +0100 From: Roland Weber User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: HttpClient User Discussion Subject: Re: Complex redirect References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:4601b1d39ab4ddfc21c613822e406392 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Jeff, if you want us to help, then you have to ask *precise* questions. http://jakarta.apache.org/site/mail.html http://www.catb.org/~esr/faqs/smart-questions.html > In code I can replicate the steps 1 & 2. > > And now I'm stuck. What does that mean? Do you get an error response from the server? Do you get an exception in your Java code? You've got a link, you know how to send a GetMethod, what happens if you do? > 3: > > I then click on a link to... > > https://q1.site2.com/redirect.cgi?back=https://web.site3.com/logon.jsp Those are https links. You probably have not yet set up SSL, which is required to access https links. It's all in the manual... http://jakarta.apache.org/commons/httpclient/sslguide.html cheers, Roland Jeffrey Porter wrote: > > > I'm hoping someone can help me out here. > > Any advice would be great. > > > > I'd like to write some code to get to a web page. Easy? You'd think. :-) > > > > The actions I take in IE are... > > > > 1: Go to www.site1.com > > > > 2: > > This displays a login page. > > Login with > > User: user1 > > Password: jones > > > > 3: > > I then click on a link to... > > https://q1.site2.com/redirect.cgi?back=https://web.site3.com/logon.jsp > > > > 4: > > This will then display the login page for site3. > > Login in with > > User: cdx123 > > Password: qwerty > > > > In code I can replicate the steps 1 & 2. > > And now I'm stuck. > > > > In IE I can't go to Site3 directly, if I do then get sent to the link > above for site2. > > > > In IE I can log into the Site2 link, although I have to enter user1 > login twice. But I'll then be displayed the Site3 page I want. > > > > Its all rather complex. > > > > Anyone got any tips on what I should do? > > Thanks > > Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org