[jQuery] Re: PHP $_SESSION data empty in a jQuery AJAX call

2009-01-22 Thread donb
Is there an inconsistent hostname, like www.example.com to open the page then only using example.com n the ajax part? Not sure if that would even have an effect, just something that occured to me. On Jan 22, 6:22 pm, twilsoncom wrote: > Of course, PHP should be reading the Session ID from a coo

[jQuery] Re: PHP $_SESSION data empty in a jQuery AJAX call

2009-01-22 Thread twilsoncom
Of course, PHP should be reading the Session ID from a cookie sent along with the headers, so you might check to make sure that the domain parameter for the cookie is originally being set in such a way that the script you're calling through AJAX has access to read the cookie. I've had similar prob

[jQuery] Re: PHP $_SESSION data empty in a jQuery AJAX call

2009-01-21 Thread tlphipps
I don't really have a suggestion since I think you've got a good start on tracking this down, but I just wanted to offer up that, yes, this should work as you expect. We do it here all the time in our system. Obviously the issue is that your AJAX call is creating a new PHP session (which you've