In your theme/plugin
Add the next piece of code to your functions.php or plugin file to enable sessions:
/**
* init_sessions()
*
* @uses session_id()
* @uses session_start()
*/
function init_sessions() {
if (!session_id()) {
session_start();
}
}
add_action('init', 'init_sessions');