10-02-2012 10:10 AM
I have a WebWorks application which loads a remote page using jquery's load. I need to set a cookie for the remote url. If I specify the domain then the cookie does not get set. I have tried using:
document.cookie='key=vaue; path=/; domain=my.domain.com';
It only works with
however, the added cookie is only available for localhost.
Thanks for your help.
10-08-2012 10:36 AM
I have tried a different approach using
in $.ajaxSetup -> beforeSend function.
In this case I get the following error in ripple: "Refused to set unsafe header "Cookie"".
Is there a way to configure WebWorks to allow this cookies?