wordpress does not provide the facility to enable session into wordpress.
but for enable session in wordpress you need to add
add_action(‘init’,’sessionStart’));
function sessionStart()
{
if ( ! session_id())
session_start();
}
code in your theme function.php.
But you must installed exec-php plugin to enable php code.

Comments