cookie management
Hi,
Not sure if this is the right place, but I can't seem to subscribe to Google Groups at the moment, so here I am.
I've got some code that I've run in a browser that captures a cookie and sends that as a header on subsequent requests, but it doesn't seem to be getting set when using envjs and Rhino. To be honest, I'm not sure if this is something from envjs or rhino which isn't working as I'd expect.
I managed to get the cookie set using this, but it'd be nice if the container handled that. Any ideas?
Thanks
Robbie
jQuery.ajaxSetup({ 'beforeSend': function(xhr) { xhr.setRequestHeader("Cookie", sessionToken); } });
Note the ongoing discussion at... http://groups.google.com/group/envjs/browse_thread/thread/be1b872978209f48/f5951cb673bfa3db?lnk=gst&q=cookie#f5951cb673bfa3db
Chris reports that the most stable cookie functionality is in the latest trunk version from thatcher github.
Chris has kindly taken one of my test cases which relies on implicit cookie setting and may be able to prove it working this weekend.