Unfortunately they are separate. Example www.bond-insurance.com and
www.financial-guaranty.com both go to www.fgic.com. So if a user first goes
to www.bond-insurance.com they will be given a client ID in a cookie. But
now if they go to www.fgic.com, the servlet will not see the cookie and
think they've never been here before and it will give them another ID. Is
there a better way to do this without forcing a user through a login?
-----Original Message-----
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 13, 1999 11:10 PM
To: [EMAIL PROTECTED]
Subject: Re: How can I retrieve a cookie from another domain?
That depends on whether those are actually xxx.mydomain.com,
yyy.mydomain.com and aaa.mydomain.com. If so, you can just set the domain
of the cookie to .mydomain.com and it will get returned to all three
servers.
(*Chris*)
----- Original Message -----
From: Boemio, Neil (CAP, FGI) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 13, 1999 4:12 PM
Subject: How can I retrieve a cookie from another domain?
> If I have xxx.com and yyy.com both going to aaa.com, how can I retrieve a
> cookie for aaa.com when any of these are visited.
>
> So when someone visits xxx.com, I want to be able to retrieve it from
under
> aaa.com because that's where my servlet put it since I use
> request.getServerName() when setting the cookie.
>
> If I use request.getCookies(), it tries to get it from where the user
> visited .... example xxx.com or yyy.com .... but it's not there. It will
> always be under aaa.com.
>
>
> Neil
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html