Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookie management #7

Open
robb1e opened this issue Apr 19, 2010 · 1 comment
Open

cookie management #7

robb1e opened this issue Apr 19, 2010 · 1 comment

Comments

@robb1e
Copy link

robb1e commented Apr 19, 2010

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);
}
});

@cefn
Copy link

cefn commented May 7, 2010

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants