Not for heavy sites!
-
NOT A PLUGIN FOR HEAVY SITES!!! The code should be reviewed before thinking about using this plugin. We used this plugin on a site that gets hit about 15 times a min, with tons of unique sessions. The problem is that the plugin creates a session for ever user that hits the site and uses the PHP file session handling which is pretty slow and over time you will see performance issues on your website. There is no reason to create a session when someone hits the site and isn’t even viewing a captcha.
//runs every time wordpress is loaded add_action('init', 'wp_captcha_init_sessions'); //runs this function every time function wp_captcha_init_sessions(){ if(!session_id()){ //creates a session for every user that hits the site session_start(); } //..................... }
- The topic ‘Not for heavy sites!’ is closed to new replies.