Wordpress $_SESSION not working even after adding add_action('init, '...',1)
See this answer for a discussion of using $_SESSION
with WordPress. In short, WordPress removes session variables if register_globals
is defined.
The comments on the question itself point to this answer on the WordPress stackexchange, which discusses a plugin that may help you.