Hi,
Yup, definitely not a Tomcat bug.  You might want to sync up your
network configuration with your server.xml, but that's your call.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
>Sent: Thursday, December 09, 2004 10:17 AM
>To: Tomcat Users List
>Subject: Re: Problem with Sessions...is this a Tomcat bug?
>
>Gabriel Belingueres wrote:
>> Hi,
>>
>> I just discovered a weird thing:
>>
>> I have a Tomcat 4.1.12 running in my machine, which is called
>> "ale2000", and I test my app using http://localhost:8080/xxxxxx as
the
>> url (not the machine name configured in Windows)
>>
>> When some of the html page make a request to the app, using
>> http://ale2000:8080/xxxxxx, Tomcat creates other session object,
>> instead of reusing the same session originally created when I call it
>> the first time using http://localhost:8080/xxxxxx
>>
>> Is this behavior correct?
>> Doesn't it better to create other session based on different IP
>> addresses, instead of different machine names?
>
>IMO this is correct. Cookies are attached to server names instead of
IPs.
>Imagine what would happen if you have multiple virtual servers on a
>machine and session cookies would be per ip (=the same for all servers)
>instead per server.
>
>HTH
>Christoph
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to