This is not true. Whether or not a cookie is sent back to a server depends
on the sever domain and URL. The cookie will be sent if:
- the cookie has not expired
- the domain set on the cookie matches the domain of the server
- the path set on the cookie matches the path prefix of the URL
Just explitcitly set the domain and path and your cookie will be sent back
to both servers (assuming they are in the same domain).
Tuyen Tran
HighPoint Systems, Inc.
-----Original Message-----
From: Kirkdorffer, Daniel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, April 08, 1999 3:01 PM
Subject: Re: Cookie communication
>Cookies can only be read by processes running on the same server they were
>set. At the very least.
>
>Dan
>
>> ----------
>> From: Wine Vaughn[SMTP:[EMAIL PROTECTED]]
>> Reply To: [EMAIL PROTECTED]
>> Sent: Thursday, April 08, 1999 11:20 AM
>> To: [EMAIL PROTECTED]
>> Subject: Cookie communication
>>
>> Here's my problem. My JSP cannot see cookies created by my colleague's
>> servlet, and vice versa.
>>
>> We are using JRun on NT with IIS.
>>
>> Although the servlet and JSP are on the same server, they are accessed
>> differently. The servlet is accessed by
>> http://ourserver/servlet/colleagueServlet
>> <http://server/servlet/colleagueServlet> , and my JSP is accessed by
>> http://ourserver/mydirectory/myJSP <http://ourserver/mydirectory/myJSP> .
>> I'm guessing this is a security problem, and we cannot see each other
>> cookies because the sites are different. If this is the problem, how can
>> we
>> make the sites the same?
>>
>> Is this problem a basic servlet/JSP issue, or is it a JRun administration
>> issue?
>>
>> Does anyone have a suggestion on solving this problem? (Besides using
>> JSPs
>> exclusively, which is not an option at this point....)
>>
>> Thanks for your help,
>>
>> Vaughn
>>
>>
==========================================================================
>> =
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>> body
>> of the message "signoff JSP-INTEREST". For general help, send email to
>> [EMAIL PROTECTED] and include in the body of the message "help".
>>
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JSP-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".