$.ajax and responseHeaders (Cookie problem)

$.ajax and responseHeaders (Cookie problem)

Hey,

for a project i'm developing, i wanted to make an AJAX login.  Now, i found a little problem.

It would seem that the Set-Cookie header in my ajax-request isn't processed. This means that thye login automatically fails.

Oke, quick fix: set the cookie myself. But i can't seem to find the response headers in the jQuery $.ajax object.

So did i miss it, and else, where do i find it?

Thanks a lot,
- Daimonie