Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • You need to call session_start() to initialize the session data. Commented May 4, 2010 at 12:47
  • 2
    No, I have it set to auto-start in php.ini :P Don't be so pedantic. Commented May 4, 2010 at 12:48
  • Hey, if you're going to pick at me for cache issues, I'm going to pick back ;) Commented May 4, 2010 at 12:49
  • 1
    Both of our points were legitimate. I just don't think you should assume someone who is new-ish to PHP to have non-default settings enabled. He's probably on a shared host anyway. Commented May 4, 2010 at 12:52
  • Alright keep your shirt on. But id rather debug a session not starting than my asynchronous calls being cached! Commented May 4, 2010 at 12:54