WordPress Destroys My Website’s Session
Gary Oosterhuis | December 27, 2012

We’ve developed a number of sites recently that pull in content from a wordpress blog. Any time we include wp-blog-header.php our existing sessions from the website are destroyed.
To fix this, comment out the following line in the wp-settings.php file found within the wordpress blog root folder.
wp_unregister_GLOBALS();
Add a Comment