[wp-hackers] Why WordPress killing Session ?

Ryan McCue lists at rotorised.com
Tue Feb 12 14:20:59 UTC 2013

Marko Heijnen wrote:
> It's really simple. WordPress doesn't kill sessions. It just doesn't use them.

In fact, you'll find that basically every e-commerce plugin for
WordPress uses sessions, so it definitely doesn't kill them.

If sessions aren't working, it's possible that:

1) You're not doing session_start() early enough. It needs to be done
around the init hook (before body output)
2) A plugin is intentionally breaking them. Try disabling all other
plugins to double-check this.

Ryan McCue

More information about the wp-hackers mailing list