How can i use my own (custom) session value inside wordpress?
For example: $_SESSION['myname']="mindstick"
I've already inserted session_start() at all page i need as following.
<?php
session_start();
$_SESSION['myname'] = "mindstick";
?>
But not working.
Just working on the self page.
It is NOT call-able from another pages (using same logic).
Just working on the self page.
It is NOT call-able from another pages (using same logic).
Last updated:10/31/2014 11:54:58 PM
Anonymous User
You need to add following lines at the top of config.php
Then add following line at the top of header.php