File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Cookies and Domain Names Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Cookies and Domain Names" Watch "Cookies and Domain Names" New topic
Author

Cookies and Domain Names

V Chauhan
Ranch Hand

Joined: Nov 15, 2002
Posts: 70
Hi Ranchers,

I am confused regarding cookies and domain names.

I have two J2EE applications running on hosts : xyz.foo.com and myapp.abc.foo.com.

Now, if the application running on xyz.foo.com sets a cookie with domain as ".foo.com", will it be visible to the application running on myapp.abc.foo.com?

Thanks in advance,
Basu.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookies and Domain Names
 
Similar Threads
Java session problem
URLConnection class
Problems with lost sessions
addCookie()
Passing username from Java Application using httpHeader to OBIEE server