Skip to navigation
How to delete some bots ci_session entries what codeiginter my created to the mysql db
06.06.14
delete FROM `ci_sessions` WHERE `user_agent` like '%Wget%'; delete FROM `ci_sessions` WHERE `user_agent` like '%Baiduspider%'; delete FROM `ci_sessions` WHERE `user_agent` like '%Google%'; delete FROM `ci_sessions` WHERE `user_agent` like '%bing%'; delete FROM `ci_sessions` WHERE `user_agent` like '%MJ12%'; delete FROM `ci_sessions` WHERE `user_agent` like '%xmlrpclib%'; delete FROM `ci_sessions` WHERE `user_agent` like '%Spider%'; delete FROM `ci_sessions` WHERE `user_agent` like '%SiteUptime%'; delete FROM `ci_sessions` WHERE `user_agent` like '%Site24x7%'; delete FROM `ci_sessions` WHERE `user_agent` like '%Go %';
Reply
Anonymous
Information Epoch 1732534137
When you have nothing surprising to say, you should say nothing.
Home
Notebook
Contact us