Enable Custom Sessions in WordPress Blog

You need to check whether register_globals is On / Off. Register_globals must be Off to enable Custom Sessions in WordPress Blog

wordpress-session-register-globalpng

also you need to add a array item _SESSION in file wp-includes/load.php

function wp_unregister_GLOBALS()
// Variables that shouldn’t be unset
$no_unset = array( ‘_SESSION’, ‘GLOBALS’, ‘_GET’, ‘_POST’, ‘_COOKIE’, ‘_REQUEST’, ‘_SERVER’, ‘_ENV’, ‘_FILES’, ‘table_prefix’ );

Sessions are now enabled in WordPress! You can now use PHP sessions on your WordPress custom plugins.

About Us

We are one of the leading provider for HTML5 MP3/MP4 Horizontal Playlist, Vertical Playlist, Karaoke, Lyrics, FeedBurner Podcast, Amazon S3, AWS CloudFront, CDN, Wordpress, Joomla, Standalone, Video, Radio, Folder Player.

Connect With Us