there's an handy session cleaner   web2py/sessions2trash.py at master ยท 
web2py/web2py (github.com) 
<https://github.com/web2py/web2py/blob/master/scripts/sessions2trash.py> and 
a whole section in the docs  web2py - Deployment recipes 
<http://www.web2py.com/books/default/chapter/29/13/deployment-recipes?search=session2trash#Cleaning-up-sessions>

On Wednesday, July 6, 2022 at 3:22:43 PM UTC+2 Vlad wrote:

> Invalidating existing sessions is not a problem; they can login again. As 
> long as it doesn't break things... 
>
> Thank you, Jim! 
>
>
> On Wed, Jul 6, 2022, 9:20 AM Jim S <ato....@gmail.com> wrote:
>
>> I believe that you can.
>>
>> However, this will invalidate all active sessions and all active users 
>> will have to log in again.
>>
>> Are there date stamps you can use to delete old session files but keep 
>> current ones?
>>
>> -Jim
>>
>> On Tuesday, July 5, 2022 at 10:44:35 PM UTC-5 Vlad wrote:
>>
>>> I was checking memory usage and noticed that the sessions folder (under 
>>> one specific application) takes over 1G of disk space. Can I just delete 
>>> everything in there? Trying to clean up the space to optimize disk usage - 
>>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/web2py/VBkKItehYfQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> web2py+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/ef6ffa3f-1f27-43ed-9f70-8a8e694d501bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/web2py/ef6ffa3f-1f27-43ed-9f70-8a8e694d501bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/6bf23f74-2677-48bb-a1fd-6673dcd4efb7n%40googlegroups.com.

Reply via email to