Since our site was based on php sessions and nothing was being saved to the database for user sessions, here is what worked:
First found the path using a small php page which had the line
php echo session_save_path()
(or phpinfo would have worked?)
then just
sudo sh -c 'rm -v /var/lib/php/sessions/sess*'
sudo rm sess*
won't work, that's because the wildcard expansion is done by the shell and not by rm.
No comments:
Post a Comment