This object is in archive! 
System should remove sessions..
It seems like there should be a built in feature to remove old sessions found here,
/usr/application/sessions
We didn't really even run the system very long, but there were over 100K session files filling up the directory.
Hello Chris,
User sessions are created each time new user enters community. So you should have 100k visitors in community to have such number of files.
If we are to clear sessions, then all logged users will be automatically loggout out.
You need to redefine store location of sessions in php.ini if you'd like php handle old session files. More details could be found in PHP Manual
Hello Chris,
User sessions are created each time new user enters community. So you should have 100k visitors in community to have such number of files.
If we are to clear sessions, then all logged users will be automatically loggout out.
You need to redefine store location of sessions in php.ini if you'd like php handle old session files. More details could be found in PHP Manual
Thanks for the reply but the session files stay even after the users logout and they just accumulate over time. We took down USR, but there was still a full directory of files.. Most users hosting the system may not know that these stay. Although the files are small, they can take space if they are never deleted from the server.
Thanks for the reply but the session files stay even after the users logout and they just accumulate over time. We took down USR, but there was still a full directory of files.. Most users hosting the system may not know that these stay. Although the files are small, they can take space if they are never deleted from the server.
Chris,
As I've mentioned in previous comment, you better don't rely on internal sessions storage and redefine it with build-in php setting. This way, you'll have proven way of storing all sessions and for server to delete them when it requires. PHP will handle it
Chris,
As I've mentioned in previous comment, you better don't rely on internal sessions storage and redefine it with build-in php setting. This way, you'll have proven way of storing all sessions and for server to delete them when it requires. PHP will handle it
Replies have been locked on this page!