Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 58879 invoked from network); 30 Jan 2006 02:42:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jan 2006 02:42:28 -0000 Received: (qmail 64539 invoked by uid 500); 30 Jan 2006 02:42:27 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 64529 invoked by uid 500); 30 Jan 2006 02:42: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 64518 invoked by uid 99); 30 Jan 2006 02:42:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jan 2006 18:42:27 -0800 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of JYurow@aol.com designates 205.188.139.136 as permitted sender) Received: from [205.188.139.136] (HELO imo-d20.mx.aol.com) (205.188.139.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jan 2006 18:42:26 -0800 Received: from JYurow@aol.com by imo-d20.mx.aol.com (mail_out_v38_r6.3.) id t.1f0.4b44edc5 (1320) for ; Sun, 29 Jan 2006 21:42:03 -0500 (EST) From: JYurow@aol.com Message-ID: <1f0.4b44edc5.310ed6fb@aol.com> Date: Sun, 29 Jan 2006 21:42:03 EST Subject: Re: How do you simulate clicking on a hyperlink? To: httpclient-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------------------------1138588922" X-Mailer: 9.0 Security Edition for Windows sub 2340 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -------------------------------1138588922 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Alex, It looks like we were both thinking along the same lines. I only just learned about the Referer header by attempting to contact the logon.htm page directly with my browser. I then checked some of the explanatory links from the "Security Error" page and found out that getting the "Security Error" had something to do with the "Http Referer." I was about to go to the HttpClient API to see how to read different parts of the header after using GetMethod to fetch the index.html page. Then I will have to work out how to set the Referer to the proper value before fetching the logon.htm page. Do you have any helpful tips? As I told Roland, I am a relative newbie to this. I guess I am getting an education through "trial by fire"! Jerry -------------------------------1138588922--