$_SESSION variables in WordPress

Using $_SESSION variables in WordPress?  You need to add this line to your wp-config.php file:

if (!session_id()) session_start();

Leave a Reply

Your email address will not be published. Required fields are marked *