JQuery Ajax object & Cookies?
Hey,
i have a little problem. My new project uses $.ajax quite extensively.
I usually use a shortcut -login-as-root- function during early developments. I just build the actual login interface,
and found a bug in it.
Everytime you enter my system (as in, load a page), it updated the cookie (PROJECT_SESSIONID). Now, when this is done in an XMLHTTPRequest, the cookie data isn't read out and thus you're being logged out for having an old session_id (anti XSS and stuff).
Well, that's a problem. So i wanted to set it manually. Unfortunately, i can't seem to find a way to get the ResponseHeaders send by the HTPP Response using the $.ajax functions.
What did i miss?
Thanks a lot,
- Daimonie