[PHP] RE: starting session with AJAX

2009-08-29 Thread John Pillion
I found two small errors in the isLoggedIn(), which are corrected below. They don't have any effect on the issue at hand though. ** function isLoggedIn($debug = 0){ global $COOKIE_NAME; // if there is an active session. if (isset($_SESSION) $_SESSION['sessDBID'] !=

[PHP] RE: starting session with AJAX

2009-08-29 Thread John Pillion
Nevermind. It was a simple mistake - I had session_start() on the page the ajax was calling from, but not at the beginning of the php script it was calling to.