From owner-freebsd-java Wed Jun 19 22:54:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns1.presedia.com (ns1.presedia.com [63.209.7.68]) by hub.freebsd.org (Postfix) with ESMTP id 904C537B40D for ; Wed, 19 Jun 2002 22:54:04 -0700 (PDT) Received: from presedia.com (adsl-64-170-152-109.dsl.sntc01.pacbell.net [64.170.152.109]) by ns1.presedia.com (8.11.6/8.11.6) with ESMTP id g5K5ree33578; Wed, 19 Jun 2002 22:53:40 -0700 (PDT) (envelope-from andrew.gerweck@presedia.com) Message-ID: <3D116DE4.7060205@presedia.com> Date: Wed, 19 Jun 2002 22:53:40 -0700 From: Andrew Gerweck User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sonam singh Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat Clusters(HttpSession Replication) References: <20020620042126.34305.qmail@web14407.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You can always DIY if you can't get Tomcat to work. * Set your own cookie with a random string, this is your session id * Make sure that anything you'd put in the session is in a database. If you're building a robust servlet system, it should probably be stateless; there shouldn't be much in your sessions anyway. * A table associates your session id with the login information. * Use the servlet container's sessions only for caching the table information. If you write it cleanly, this will be faster and more robust than anything Tomcat does for you. It will also be portable to any servlet engine. sonam singh wrote: > hi > Can anyone guide how to do the HttpSession Replication > with Tomcat4x in FreeBSD4.5 .i tried to do the > Clustering as per sugestion provided by the filip.net > but i have not got any sucess.Is there any other way > to do the clustering . > > regards > Sonam > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message