|  | Posted by Evil Otto on 02/18/07 00:52 
My page loads, and calls an init() function that returns content to adiv on the page, as well as setting a $_SESSION variable.  The content
 it returns includes a link that calls the same variable, but I get an
 error that says the index isn't defined.
 
 The second two calls are AJAX-generated.  The second call immediately
 echos the $_SESSION variable back after it sets it, and it sets it
 properly.  But the subsequent request doesn't see it.
 
 I can't figure this one out, and this sort of function is vital to the
 site I'm building.
 
 Things I've already done:
 
 Put session_start() in the functions that get called after the initial
 pageload.  Just generates warnings that a session has already been
 started (by the original pageload).
 
 Checked to make sure the same session is being used by all requests,
 and it is (according to session_id).
 
 Any help is appreciated.
  Navigation: [Reply to this message] |