Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 40012 invoked from network); 19 Apr 2005 17:45:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2005 17:45:13 -0000 Received: (qmail 75570 invoked by uid 500); 19 Apr 2005 17:45:05 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 75485 invoked by uid 500); 19 Apr 2005 17:45:04 -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 75405 invoked by uid 99); 19 Apr 2005 17:45:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail2.bluewin.ch (HELO mail2.bluewin.ch) (195.186.4.73) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 10:45:01 -0700 Received: from xbox.localdomain (81.62.46.230) by mail2.bluewin.ch (Bluewin 7.0.043) id 423AEC4700369CCE for httpclient-user@jakarta.apache.org; Tue, 19 Apr 2005 17:44:57 +0000 Received: from [192.168.0.2] (unknown [192.168.0.2]) by xbox.localdomain (Postfix) with ESMTP id 76A5DB6EC6 for ; Tue, 19 Apr 2005 19:44:46 +0200 (CEST) Subject: Re: How to preserve session information. From: Oleg Kalnichevski To: HttpClient User Discussion In-Reply-To: <20050419112839.43218.qmail@web90102.mail.scd.yahoo.com> References: <20050419112839.43218.qmail@web90102.mail.scd.yahoo.com> Content-Type: text/plain Date: Tue, 19 Apr 2005 19:44:38 +0200 Message-Id: <1113932678.4334.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-2) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, 2005-04-19 at 04:28 -0700, tom tom wrote: > How can I preserve the session information. > > Should I explicitly set the cookies in order to > preserve the session. It depends. Usually as along as the same HttpState instance is reused between HTTP methods there's no need to directly manipulate the cookies. > > The reason is the URL object I have created resides > between two applications. > Be careful to make sure that the cookie's domain attribute is set correctly. The session cookie will not be picked up if the target server is not within the same domain Hope this helps Oleg > Also the SSO is enable across applications. > > What I want is > 1) Preserve the session information > > 2) Work same as SSO > > > Waiting for a early reply. > Regards, > > > > > __________________________________ > Yahoo! Mail Mobile > Take Yahoo! Mail with you! Check email on your mobile phone. > http://mobile.yahoo.com/learn/mail > > --------------------------------------------------------------------- > 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