I am having trouble with a session id not being defined.
The session variable is being called on a page that a form posts to via an ajax/jquery query.
The session variable is called on every other page without a problem. The variable is set when a user logs in, and is checked by an auth.php file. The auth.php file finds the session variable just fine, however, the insert.php file spits out an error: "Undefined index: var....".
Is there a reason for a session variable to get lost?
I am calling session_start in my auth.php file. I get an error message if I try to start another session.
Is it possible that the session variable is not being found because the file is posted to via an ajax request?
I found out what was wrong. I was using a flash uploader, and sessions are lost when making an upload with flash. Oh what a night.
Thanks for all your help!
posted date: 2009-04-15 22:03:00