Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Set cookie for given site  RSS feed

 
Michal Glowacki
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/");
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!