WordPress Destroys My Website’s Session
Gary Oosterhuis | December 27, 2012
![](https://www.linkweb.ca/wp-content/uploads/2012/12/wordpress.jpg?x75904)
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