Need a little help
-
Hi Eric, hello to all!
Here below my problem, rather is a misunderstanding problem from my side, and please help me.
I use WP_Sessin in a script custom login box placed in sidebar, in all pages. In this script I placed:$wp_session = WP_Session::get_instance();
$wp_session[“something”] = “someone”;My problem is that in other pages having the same sidebar, the wp_session variable loses it’s value.
On the other hand, trying to get the value in a php script in the same page, in main column, with or without:
$wp_session = WP_Session::get_instance();
in top of the script, I also can’t get the wp_session variable value.Where do I am wrong?
- The topic ‘Need a little help’ is closed to new replies.