Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 11668 invoked from network); 18 Aug 2005 22:59:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2005 22:59:51 -0000 Received: (qmail 6877 invoked by uid 500); 18 Aug 2005 22:59:51 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 6686 invoked by uid 500); 18 Aug 2005 22:59:50 -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 6673 invoked by uid 99); 18 Aug 2005 22:59:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 15:59:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [17.250.248.45] (HELO smtpout.mac.com) (17.250.248.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 16:00:08 -0700 Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/8.12.11/smtpout11/MantshX 4.0) with ESMTP id j7IMxmwp022940 for ; Thu, 18 Aug 2005 15:59:48 -0700 (PDT) Received: from [67.100.201.219] (h-67-100-201-219.cmbrmaor.covad.net [67.100.201.219]) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id j7IMxk5Q007593 for ; Thu, 18 Aug 2005 15:59:47 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v733) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: httpclient-user@jakarta.apache.org From: Keith Campbell Subject: multiple instances of httpclient Date: Thu, 18 Aug 2005 18:59:45 -0400 X-Mailer: Apple Mail (2.733) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, A quick question for the list please. I've been struggling with this for a couple of days now w/o much success. I have a servlet which is used to send requests (using HttpClient) to another web application where: 1) each user must login -- each user logs in using GET by passing a user id as a parameter 2) each user's session must be persistent 3) multiple users will be using the application and each must maintain a unique session To do this, I've been trying to instantiate HttpClient, in my servlet, once per user session. And I'd like to be able to store/ retrieve this instance in the user session. But HttpClient is not serializable .... How do I accomplish this functionality? Thanks in advance, Keith Campbell --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org