# Time To Live

**URL:** <https://www.ruby-forum.com/t/time-to-live/113873>\
**Category:** Rails\
**Created:** [September 5, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/time-to-live/113873 "2007-09-05T20:46:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [September 5, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/time-to-live/113873/1 "2007-09-05T20:46:03Z")

</div>

This is just a random thought that I had about Time To Live with session  
variables. Is there a way to do that in Rails? I have created sessions  
before. For example, what if I wanted to log off a person after a  
certain peroid of inactivity?
