aspose file tools
The moose likes JSF and the fly likes Set cookie for given site Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Set cookie for given site" Watch "Set cookie for given site" New topic
Author

Set cookie for given site

Michal Glowacki
Ranch Hand

Joined: Mar 14, 2006
Posts: 113
Hi

I need to pass using cookies some data from my JSF application to other (ColdFusion) script. Is it possible to set cookie for different site? For example my JSF application is at domain1.com and other is at domain2.com. Is it possible to set cookie in my JSF to be set for domain2.com? I tried such a code but it's not working:

cookie.setDomain("http://domain2.com/");
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Set cookie for given site
 
Similar Threads
doubt in web app deployment
Session sharing across sub domains with one app serving multiple top domains
HIbernate and virtual host
not able to set Domain for HttpCookie?
why i can't get cookie from a special web site?