I have an issue with a WordPress session. I have a file \'test.php\' that is used post a variable to a WordPress site. It has the condition: \"if the session variable is set
Just hook a function on "init" in your functions.php like this :
function ur_theme_start_session() { if (!session_id()) session_start(); } add_action("init", "ur_theme_start_session", 1);
Then u can use your session variables.
I hope that help u.