Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 40176 invoked from network); 6 Sep 2005 02:53:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2005 02:53:24 -0000 Received: (qmail 15143 invoked by uid 500); 6 Sep 2005 02:53:23 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 15126 invoked by uid 500); 6 Sep 2005 02:53:23 -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 15113 invoked by uid 99); 6 Sep 2005 02:53:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 19:53:23 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_AHBL_RHSBL,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.200.145.36] (HELO omta18.mta.everyone.net) (216.200.145.36) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 19:53:35 -0700 Received: from dm16.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta18.mta.everyone.net (Postfix) with ESMTP id 5439D4080B for ; Mon, 5 Sep 2005 19:53:20 -0700 (PDT) X-Eon-Dm: dm16 Received: from [10.0.0.251] (68.171.85.126 [68.171.85.126]) by dm16.mta.everyone.net (EON-AUTHRELAY2) with ESMTP id dm16.4317aaed.4f80e for ; Mon, 5 Sep 2005 19:53:18 -0700 (PDT) X-Eon-Sig: AQGPwJBDHQSeUuw5VwIAAAAB,2ee75012d709c3221d4f9777f769e392 Message-ID: <431D049C.207@nowhereatall.com> Date: Mon, 05 Sep 2005 22:53:16 -0400 From: Thom Hehl User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: HttpClient User Discussion Subject: Re: Cookie problem???? References: <431CBD0D.7020903@nowhereatall.com> <78f7873e05090518415ad0458f@mail.gmail.com> In-Reply-To: <78f7873e05090518415ad0458f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That problem was the CookiePolicy. I switched it and now looks like this: rex version 0.9.2 copyright 2005, Heavyweight Software, all rights reserved Process started at 09/05/2005 at 10:47:13 PM 0 [main] INFO rex.ItoolsRepublish - Constructor 0 [main] INFO rex.ItoolsRepublish - Constructor 12 [main] DEBUG rex.ItoolsRepublish - base:www.ohiohomelocator.com 12 [main] DEBUG rex.ItoolsRepublish - base:www.ohiohomelocator.com 13 [main] DEBUG rex.ItoolsRepublish - user:bmedia 13 [main] DEBUG rex.ItoolsRepublish - user:bmedia 13 [main] DEBUG rex.ItoolsRepublish - passwd:solutions 13 [main] DEBUG rex.ItoolsRepublish - passwd:solutions 6374 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseAsStream instead is recommended. 6374 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseAsStream instead is recommended. *** Request *** Request Path: /cgi-bin/listman/exec/admin.cgi Request Query: null User-Agent: Jakarta Commons-HttpClient/3.0-rc3 Host: www.ohiohomelocator.com Content-Length: 22 Content-Type: application/x-www-form-urlencoded 13150 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** 13150 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** 13156 [main] DEBUG rex.ItoolsRepublish - id=bmedia 13156 [main] DEBUG rex.ItoolsRepublish - id=bmedia 13156 [main] DEBUG rex.ItoolsRepublish - pw=solutions 13156 [main] DEBUG rex.ItoolsRepublish - pw=solutions 13162 [main] DEBUG rex.ItoolsRepublish - listing_search= 13162 [main] DEBUG rex.ItoolsRepublish - listing_search= 13163 [main] DEBUG rex.ItoolsRepublish - listing_keyword= 13163 [main] DEBUG rex.ItoolsRepublish - listing_keyword= 13163 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 13163 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 *** Response *** Status Line: HTTP/1.1 200 OK Date: Tue, 06 Sep 2005 02:47:18 GMT Server: Apache/1.3.33 (Unix) mod_jk/1.2.8 Sun-ONE-ASP/4.0.0 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a Set-Cookie: id=bmedia; expires=Tue,13-Sep-2005 01:26:19 GMT; Set-Cookie: pw=solutions; expires=Tue,13-Sep-2005 01:26:19 GMT; Set-Cookie: listing_search=; Set-Cookie: listing_keyword=; Set-Cookie: listing_pagenum=1; Transfer-Encoding: chunked Content-Type: text/html *** Response Body *** Realty Manager
 Realty Manager  

 Listing Editor
Search 
 
for keyword

 
Found 7226 of 7226
<<  Page 1 of 723  >>

 Address  Listed by Status Action
 2002235   visible modify erase
 2003512   visible modify erase
 2003515   visible modify erase
 2003528   visible modify erase
 2003529   visible modify erase
 2003533   visible modify erase
 2003535   visible modify erase
 2003536   visible modify erase
 2003537   visible modify erase
 2003539   visible modify erase
Current User: bmedia (superuser)
13656 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseAsStream instead is recommended. 13656 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseAsStream instead is recommended. *** Request *** Request Path: /cgi-bin/listman/exec/admin.cgi Request Query: null User-Agent: Jakarta Commons-HttpClient/3.0-rc3 Host: www.ohiohomelocator.com Cookie: $Version=0; id=bmedia Cookie: $Version=0; pw=solutions Cookie: $Version=0; listing_search= Cookie: $Version=0; listing_keyword= Cookie: $Version=0; listing_pagenum=1 Content-Length: 20 Content-Type: application/x-www-form-urlencoded 13698 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** 13698 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** 13699 [main] DEBUG rex.ItoolsRepublish - listing_search= 13699 [main] DEBUG rex.ItoolsRepublish - listing_search= 13700 [main] DEBUG rex.ItoolsRepublish - listing_keyword= 13700 [main] DEBUG rex.ItoolsRepublish - listing_keyword= 13701 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 13701 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 13701 [main] DEBUG rex.ItoolsRepublish - id= 13701 [main] DEBUG rex.ItoolsRepublish - id= 13702 [main] DEBUG rex.ItoolsRepublish - pw= 13702 [main] DEBUG rex.ItoolsRepublish - pw= *** Response *** Status Line: HTTP/1.1 200 OK Date: Tue, 06 Sep 2005 02:47:26 GMT Server: Apache/1.3.33 (Unix) mod_jk/1.2.8 Sun-ONE-ASP/4.0.0 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a Set-Cookie: id=; expires=Tue,13-Sep-2005 01:26:26 GMT; Set-Cookie: pw=; expires=Tue,13-Sep-2005 01:26:26 GMT; Transfer-Encoding: chunked Content-Type: text/html *** Response Body *** Realty Manager

Invalid Login

You've entered an incorrect username or password. Please check the spelling and try again.

Process ended at 09/05/2005 at 10:47:27 PM Michael Becke wrote: >Hi Thom. > >The problem seems to be that HttpClient doesn't like the cookie >expiration date being used: > >WARN org.apache.commons.httpclient.HttpMethodBase - Invalid >cookie header: "pw=solutions; expires=Mon,12-Sep-2005 20:05:00 GMT;". >Invalid expires attribute: Unparseable date: "Mon,12-Sep-2005 20:05:00 GMT" > >>>From initial inspection I'm not sure what wrong with it as it seems to >conform to the format "EEE,dd-MMM-yyyy HH:mm:ss z", which is one of >the patterns used by default. Try fiddling with the >"http.dateparser.patterns" parameter to see if you can resolve the >issue. > > > >Also, you need to call releaseConnection() after every call to >HttpClient.executeMethod() though I doubt it is the cause of this >issue. > >Mike > >On 9/5/05, Thom Hehl wrote: > > >>OK, this is making me nucking futs (sorry) and I just don't know what >>else to do. I'm hoping someone will be intelligent enough to show me how >>stupid I am.:) I am running 3.0-rc3. >> >>The scenario is that I am using a third party package for which all >>administration is run through a single cgi, admin.cgi. >> >>If you call admin.cgi for the first time with no parameters, it displays >>a login page. A successful login will return a cookie with the ID and >>password (I know, I didn't write this) for future use. You then go to >>various sub-pages and it, evidently, reviews your id and pw fields >>everytime. >> >>Although insecure, this actually works pretty well from the browser >>window. What I need to do is programatically log in and store the >>cookie, then go to a page, push a button, and have the app do something >>for me automatically. Seemed simple enough when I started this weeks ago... >> >>(I've tried all three cookie policies before someone suggests this.) >> >>Here's the useful part of the code... >> >>... >> String response; >> >> // Prepare login parameters >> NameValuePair userid = new NameValuePair("id", User); >> NameValuePair password = new NameValuePair("pw", Password); >> >> //and login >> response=execute(UrlBase, new NameValuePair[] {userid, password}); >> response=execute(UrlBase, new NameValuePair[] { >> new NameValuePair("setup_options_edit","1")}); >>... >> /** >> * execute a method >> * @param url the url to be executed >> * @param parms a name value pair array of parameters to pass to the >> * script. >> * @return a string containing the HTML returned >> * @throws heavyweight.Exception for a variety of problems >> */ >> private String execute(String url, NameValuePair[] parms) >> throws heavyweight.Exception >> { >> PostMethod method = new PostMethod(url); >> >> if(parms==null) >> { >> throw new IllegalArgumentException("Must pass paramters to >>execute (url, parms). For no parms, use execute(String)\n"); >> } >> method.setRequestBody(parms); >> >> //execute the method >> String responseBody = null; >> int tries=0; >> boolean successful=false; >> >> do >> { >> try >> { >> Client.executeMethod(method); >> responseBody = method.getResponseBodyAsString(); >> successful=true; >> } catch (HttpException he) >> { >> StringBuffer sb=new StringBuffer("Http error connecting >>to '"); >> sb.append(url); >> sb.append("'\n"); >> MyLog.error(sb.toString()); >> MyLog.error(he.getMessage()); >> >> if(++tries>RETRY_COUNT) >> { >> throw new heavyweight.Exception(sb.toString(), he); >> } >> } catch (IOException ioe) >> { >> StringBuffer sb=new StringBuffer("Unable to connect to '"); >> sb.append(url); >> sb.append("'\n"); >> MyLog.error(sb.toString()); >> MyLog.error(ioe.getMessage()); >> >> if(++tries>RETRY_COUNT) >> { >> throw new heavyweight.Exception(sb.toString(), ioe); >> } >> } >> } while(!successful); >> >> //write out the request headers >> System.out.println("*** Request ***"); >> System.out.println("Request Path: " + method.getPath()); >> System.out.println("Request Query: " + method.getQueryString()); >> Header[] requestHeaders = method.getRequestHeaders(); >> for (int i=0; i> System.out.print(requestHeaders[i]); >> } >> >> //write out the cookies >> if(MyLog.isDebugEnabled()) >> { >> MyLog.debug("*** Cookies ***"); >> for(Cookie ck:Client.getState().getCookies()) >> { >> MyLog.debug(ck.toString()); >> } >> } >> >> //write out the response headers >> System.out.println("*** Response ***"); >> System.out.println("Status Line: " + method.getStatusLine()); >> Header[] responseHeaders = method.getResponseHeaders(); >> for (int i=0; i> System.out.print(responseHeaders[i]); >> } >> >> //write out the response body >> System.out.println("*** Response Body ***"); >> System.out.println(responseBody); >> >> //clean up the connection resources >> method.releaseConnection(); >> >> return responseBody; >> } >> >>And here's the output I'm printing to try to debug this. >> >>rex version 0.9.2 >>copyright 2005, Heavyweight Software, all rights reserved >>Process started at 09/05/2005 at 05:25:54 PM >>1 [main] INFO rex.ItoolsRepublish - Constructor >>1 [main] INFO rex.ItoolsRepublish - Constructor >>9 [main] DEBUG rex.ItoolsRepublish - base:www.ohiohomelocator.com >>9 [main] DEBUG rex.ItoolsRepublish - base:www.ohiohomelocator.com >>10 [main] DEBUG rex.ItoolsRepublish - user:bmedia >>10 [main] DEBUG rex.ItoolsRepublish - user:bmedia >>10 [main] DEBUG rex.ItoolsRepublish - passwd:solutions >>10 [main] DEBUG rex.ItoolsRepublish - passwd:solutions >>1243 [main] WARN org.apache.commons.httpclient.HttpMethodBase - >>Invalid cookie header: "id=bmedia; expires=Mon,12-Sep-2005 20:05:00 >>GMT;". Invalid expires attribute: Unparseable date: "Mon,12-Sep-2005 >>20:05:00 GMT" >>1243 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Invalid >>cookie header: "id=bmedia; expires=Mon,12-Sep-2005 20:05:00 GMT;". >>Invalid expires attribute: Unparseable date: "Mon,12-Sep-2005 20:05:00 GMT" >>1248 [main] WARN org.apache.commons.httpclient.HttpMethodBase - >>Invalid cookie header: "pw=solutions; expires=Mon,12-Sep-2005 20:05:00 >>GMT;". Invalid expires attribute: Unparseable date: "Mon,12-Sep-2005 >>20:05:00 GMT" >>1248 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Invalid >>cookie header: "pw=solutions; expires=Mon,12-Sep-2005 20:05:00 GMT;". >>Invalid expires attribute: Unparseable date: "Mon,12-Sep-2005 20:05:00 GMT" >>1263 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going >>to buffer response body of large or unknown size. Using >>getResponseAsStream instead is recommended. >>1263 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going >>to buffer response body of large or unknown size. Using >>getResponseAsStream instead is recommended. >>*** Request *** >>Request Path: /cgi-bin/listman/exec/admin.cgi >>Request Query: null >>User-Agent: Jakarta Commons-HttpClient/3.0-rc3 >>Host: www.ohiohomelocator.com >>Content-Length: 22 >>Content-Type: application/x-www-form-urlencoded >>8067 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** >>8067 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** >>8068 [main] DEBUG rex.ItoolsRepublish - listing_search= >>8068 [main] DEBUG rex.ItoolsRepublish - listing_search= >>8069 [main] DEBUG rex.ItoolsRepublish - listing_keyword= >>8069 [main] DEBUG rex.ItoolsRepublish - listing_keyword= >>8069 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 >>8069 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 >>*** Response *** >>Status Line: HTTP/1.1 200 OK >>Date: Mon, 05 Sep 2005 21:26:00 GMT >>Server: Apache/1.3.33 (Unix) mod_jk/1.2.8 Sun-ONE-ASP/4.0.0 >>mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 >>FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a >>Set-Cookie: id=bmedia; expires=Mon,12-Sep-2005 20:05:00 GMT; >>Set-Cookie: pw=solutions; expires=Mon,12-Sep-2005 20:05:00 GMT; >>Set-Cookie: listing_search=; >>Set-Cookie: listing_keyword=; >>Set-Cookie: listing_pagenum=1; >>Transfer-Encoding: chunked >>Content-Type: text/html >>*** Response Body *** >> >> >> Realty Manager >> >> >> >> >> >> >>
>>
>> >>
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>
>height="48">>height=1 width=1>>height="48">
>height=1 width=1>
>height=2 width=1>
>> >> >> >> >> >>
>style="font-size: 12px;"> Realty Manager  >height=18 border=0 usemap="#ui_top_btn">
>>
>height=1 width=1>
>height=1 width=1>
>> >> >height=18>
>> >background="../../../images/spacer.gif"> >> >> >> >> >> >> >> >> >> >> >>
>onmouseover="btnUp(this)" onmouseout="btnHide(this)" >>onclick="location.href='admin.cgi?listing_list=1'" CLASS="NavOff">>class="fmb" onfocus="blur()" >>href="admin.cgi?listing_list=1">  Listing Editor  >onmouseover="btnUp(this)" onmouseout="btnHide(this)" >>onclick="location.href='admin.cgi?homepage_list=1'" CLASS="NavOff">>class="fmb" onfocus="blur()" >>href="admin.cgi?homepage_list=1">  Homepage Editor  >onmouseover="btnUp(this)" onmouseout="btnHide(this)" >>onclick="location.href='admin.cgi?userman_list=1'" CLASS="NavOff">>class="fmb" onfocus="blur()" >>href="admin.cgi?userman_list=1">  User Manager  >src="../../../images/spacer.gif" height=1 width=1 border=0>>onmouseover="btnUp(this)" onmouseout="btnHide(this)" >>onclick="location.href='admin.cgi?setup_options_edit=1'" >>CLASS="NavOff">>href="admin.cgi?setup_options_edit=1">  Setup Options  >onmouseover="btnUp(this)" onmouseout="btnHide(this)" >>onclick="location.href='admin.cgi?logoff=1'" CLASS="NavOff">>class="fmb" onfocus="blur()" >>href="admin.cgi?logoff=1">  Logoff  
>>
>> >>
>height=1 width=1>
>height=1 width=1>
>height=2 width=1>
>height=1 width=1>
>height=1 width=1>
>> >> >>>title="Click for Help" onfocus="blur()"> >>>title="Click to Logoff" onfocus="blur()"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>
>rowspan=3>>border="0">>width="566" height="6" border="0">>rowspan=3>>border="0">
>style="font-size: 12px;"> >> >>
>align=center> >> >>

>bgcolor="#999999"> >>
>bgcolor="#EEEEEE"> >> >> >> >>
>style="font-size: 13px;"> Listing Editor
>>
>>
>> >> >> >> >> >>
>> >> >> >> >> >> >> >>
>> >style="font-size:12px">Search 
>> >>   >>
>> for >>keyword
>> >style="font-size:12px"5>
>>
 >name="listing_list" value="Go">
>> >>
>> >> >> >> >>
>style="font-size:12px">Found 7226 of 7226
>style="font-size:12px">>title="Last Page"><<  Page 1 of 723  >href="admin.cgi?listing_list=1&pagenum=2" title="Next >>Page">>>
>>
>> >> >>

>> >> >>
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>
>face="arial,sans-serif"> Address>face="arial,sans-serif"> Listed by>style="font-size:12px" face="arial,sans-serif">Status>face="arial,sans-serif" style="font-size:12px">Action
>style="font-size:12px"> 2002235>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2002235">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2002235">erase
>style="font-size:12px"> 2003512>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003512">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003512">erase
>style="font-size:12px"> 2003515>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003515">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003515">erase
>style="font-size:12px"> 2003528>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003528">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003528">erase
>style="font-size:12px"> 2003529>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003529">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003529">erase
>style="font-size:12px"> 2003533>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003533">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003533">erase
>style="font-size:12px"> 2003535>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003535">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003535">erase
>style="font-size:12px"> 2003536>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003536">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003536">erase
>style="font-size:12px"> 2003537>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003537">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003537">erase
>style="font-size:12px"> 2003539>style="font-size:12px"> >style="font-size:12px">visible >>>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_edit=2003539">modify>face="arial,sans-serif" style="font-size:12px">>href="admin.cgi?listing_confirm_erase=2003539">erase
>>
>> >> >> >> >> >> >> >>
>> >> >> >>
>>
>width="566" height="6" border="0">
>align=center valign=top> >> >> >> >> >>
Current User: bmedia (superuser)
>> >> >>
>> >> >> >> >> >> >>8353 [main] WARN org.apache.commons.httpclient.HttpMethodBase - >>Invalid cookie header: "id=; expires=Mon,12-Sep-2005 20:05:07 GMT;". >>Invalid expires attribute: Unparseable date: "Mon,12-Sep-2005 20:05:07 GMT" >>8353 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Invalid >>cookie header: "id=; expires=Mon,12-Sep-2005 20:05:07 GMT;". Invalid >>expires attribute: Unparseable date: "Mon,12-Sep-2005 20:05:07 GMT" >>8355 [main] WARN org.apache.commons.httpclient.HttpMethodBase - >>Invalid cookie header: "pw=; expires=Mon,12-Sep-2005 20:05:07 GMT;". >>Invalid expires attribute: Unparseable date: "Mon,12-Sep-2005 20:05:07 GMT" >>8355 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Invalid >>cookie header: "pw=; expires=Mon,12-Sep-2005 20:05:07 GMT;". Invalid >>expires attribute: Unparseable date: "Mon,12-Sep-2005 20:05:07 GMT" >>8356 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going >>to buffer response body of large or unknown size. Using >>getResponseAsStream instead is recommended. >>8356 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going >>to buffer response body of large or unknown size. Using >>getResponseAsStream instead is recommended. >>*** Request *** >>Request Path: /cgi-bin/listman/exec/admin.cgi >>Request Query: null >>User-Agent: Jakarta Commons-HttpClient/3.0-rc3 >>Host: www.ohiohomelocator.com >>Cookie: listing_search= >>Cookie: listing_keyword= >>Cookie: listing_pagenum=1 >>Content-Length: 20 >>Content-Type: application/x-www-form-urlencoded >>8419 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** >>8419 [main] DEBUG rex.ItoolsRepublish - *** Cookies *** >>8420 [main] DEBUG rex.ItoolsRepublish - listing_search= >>8420 [main] DEBUG rex.ItoolsRepublish - listing_search= >>8420 [main] DEBUG rex.ItoolsRepublish - listing_keyword= >>8420 [main] DEBUG rex.ItoolsRepublish - listing_keyword= >>8421 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 >>8421 [main] DEBUG rex.ItoolsRepublish - listing_pagenum=1 >>*** Response *** >>Status Line: HTTP/1.1 200 OK >>Date: Mon, 05 Sep 2005 21:26:07 GMT >>Server: Apache/1.3.33 (Unix) mod_jk/1.2.8 Sun-ONE-ASP/4.0.0 >>mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 >>FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a >>Set-Cookie: id=; expires=Mon,12-Sep-2005 20:05:07 GMT; >>Set-Cookie: pw=; expires=Mon,12-Sep-2005 20:05:07 GMT; >>Transfer-Encoding: chunked >>Content-Type: text/html >>*** Response Body *** >> >>Realty Manager >> >> >> >> >>>alink="#0000CC" marginwidth=0 marginheight=15 topmargin=15 leftmargin=0> >> >> >>>height=90%>
>> >> >> >> >> >> >> >> >> >> >> >> >>
>width="176" height="250" border="0">>width="223" height="81" border="0">>src="../../../images/spacer.gif" width="1" height="1" border="0">
>>
>> >> >> >> >> >> >> >>
>> >> Session Expired

>> You've been automatically logged off due to inactivity. >>

If you think you've received this message in error please make >>sure you have javascript and cookies enabled.

>>
>>
>>
>> >> >> >> >> >> >>
>src="../../../images/spacer.gif" width="1" height="1" border="0">
>>
>> >> >> >> >> >> >>Process ended at 09/05/2005 at 05:26:03 PM >> >>Sorry for the junk, but the response to the login is quite long. as you >>can see, the login appears to work, but when I go back, it says that my >>session has expired and clears the id and pw cookies. >> >>It looks like somehow I'm not sending back the same cookies as I'm >>getting. I'm trying a simple second query, it just keeps not working. >> >>Anyone have any ideas, please????? >> >>Thanks. >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org >> >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: httpclient-user-help@jakarta.apache.org > > > > -- "In every revolution, there is one man with a vision."--D. C. Fontana Thom Hehl www.heavyweightsoftware.com --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org