elme — 2011-06-22T12:03:25-04:00 — #1
I use session_start(); and then $_SESSION['uid] = .. in order
to set up sessions in the index.php page.
but when i am sending an ajax request to a different page
in which i have to get that session uid, it does not work for some people.
it works for me and a few more people, but it doesb't work for others.
I'm guessing i am doing something wrong but i am just calling session_start()
before using $_SESSION['uid'] to get the value of it.
would love to get some help with this one. thank you
chris_upjohn — 2011-06-23T00:00:42-04:00 — #2
I have had this issue with AJAX as well and strangely enough i solved it by moving session_start() to be within the actual function i was calling which actually someone worked. I'm probably not much help but its worth a try to just shift it around and get your users to keep testing it.
techbongo — 2011-06-23T14:00:02-04:00 — #3