Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 9858 invoked from network); 2 Oct 2000 00:31:40 -0000 Received: from f168.law7.hotmail.com (HELO hotmail.com) (216.33.237.168) by locus.apache.org with SMTP; 2 Oct 2000 00:31:40 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 1 Oct 2000 17:31:14 -0700 Received: from 205.227.43.12 by lw7fd.law7.hotmail.msn.com with HTTP; Mon, 02 Oct 2000 00:31:14 GMT X-Originating-IP: [205.227.43.12] From: "Rishi N" To: tomcat-user@jakarta.apache.org Subject: How to set domain for JSESSIONID cookie Date: Sun, 01 Oct 2000 17:31:14 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Oct 2000 00:31:14.0696 (UTC) FILETIME=[126E6880:01C02C08] X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N hi, i've been trying to figure out what the value of the domain cookie needs to be, so that i can share the same session between two hosts in the same domain. i've tried looking at the tomcat source, but i can't seem to figure out where exactly the domain for the cookie gets set. i looked for the setDomain() call, which seems to made only in ./util/SessionUtil.java, but the code path doesn't seem to reach there at all, since none of the println's i put there are executed. i'm looking at the source code that is bundled with the binary download for the stable release version 3.1 of jakarta-tomcat. any help will be much appreciated. TIA, Rishi _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.