# Sessions

**URL:** <https://www.ruby-forum.com/t/sessions/187953>\
**Category:** Rails\
**Created:** [May 3, 2010, 8:10am UTC](https://www.ruby-forum.com/t/sessions/187953 "2010-05-03T08:10:32Z")\
**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:** [May 3, 2010, 8:10am UTC](https://www.ruby-forum.com/t/sessions/187953/1 "2010-05-03T08:10:32Z")

</div>

hi all,

in my application i have to maintain the user information in session and  
updates the table flag when the user logins and while loggingout i  
change the flag to zero.

i want to delete the stale sessions and while doing this i want to  
perform operation on tables how to do this.

Please let me know

Regards,  
Rajkumar.surabhi
