Reputation: 5657
In my example, I am sending login details to a server-side script via AJAX that in turn sets a session/cookie variable.
My question is will the cookie/session be set after I get a response, or do I actually have to visit the server-side script the regular way to set them?
Thanks!
Upvotes: 0
Views: 322
Reputation: 12873
Yes. Your cookie/session will be set. You can try it by send another request.
Upvotes: 1