# Delete stale sessions in ror web application

**URL:** <https://www.ruby-forum.com/t/delete-stale-sessions-in-ror-web-application/190149>\
**Category:** Rails\
**Created:** [June 17, 2010, 9:47am UTC](https://www.ruby-forum.com/t/delete-stale-sessions-in-ror-web-application/190149 "2010-06-17T09:47:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mailtorajuit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Post date:** [June 17, 2010, 9:47am UTC](https://www.ruby-forum.com/t/delete-stale-sessions-in-ror-web-application/190149/1 "2010-06-17T09:47:31Z")

</div>

hi,

in my webapplication, user logins into application. i want to delete the  
stale sessions. and while before deleting the stale session auomatically  
i need perform on some operations on database. how to do this

Regards,  
Rajkumar
