From xmlrpc-user-return-1442-apmail-ws-xmlrpc-user-archive=ws.apache.org@ws.apache.org Fri Sep 09 18:06:29 2005 Return-Path: Delivered-To: apmail-ws-xmlrpc-user-archive@www.apache.org Received: (qmail 56288 invoked from network); 9 Sep 2005 18:06:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Sep 2005 18:06:29 -0000 Received: (qmail 36404 invoked by uid 500); 9 Sep 2005 18:06:28 -0000 Delivered-To: apmail-ws-xmlrpc-user-archive@ws.apache.org Received: (qmail 36394 invoked by uid 500); 9 Sep 2005 18:06:28 -0000 Mailing-List: contact xmlrpc-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: xmlrpc-user@ws.apache.org List-Id: Delivered-To: mailing list xmlrpc-user@ws.apache.org Received: (qmail 36376 invoked by uid 99); 9 Sep 2005 18:06:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 11:06:27 -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 [216.204.84.51] (HELO exchange.microbrightfield.com) (216.204.84.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 11:06:39 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Session management Date: Fri, 9 Sep 2005 14:06:24 -0400 Message-ID: <5EA4B2EDD4BA8B4C84BE11298F81ADC4632D1E@exchange.microbrightfield.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Session management Thread-Index: AcW1VXp7HILMVABGSqmYW9SUe4eVawADtnSQAAEcAyA= From: "James Carroll" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Tom, My xmlrpc functions needed session management, and I have a login function that returns an ID, and then each other functiton takes that ID as the first parameter. If they send NULL as the first parameter, then I know they're not logged in and there's no session information. sess =3D ni.login(user, pass) data =3D ni.getData(sess, type) ni.addData(sess, newData) ... People have hacked xml-rpc servers to use cookies for this purpose, but the above is simple, and works with=20 every xmlrpc client. -Jim =20 -----Original Message----- From: Thomas Smallwood [mailto:TSmallwood@webroot.com]=20 Sent: Friday, September 09, 2005 1:33 PM To: xmlrpc-user@ws.apache.org Subject: Session management Does the java XmlRpcClient do session management? If not what is a possible solution? thanks