# How retrieve session time stamp?

**URL:** <https://www.ruby-forum.com/t/how-retrieve-session-time-stamp/128650>\
**Category:** Rails\
**Created:** [February 9, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/how-retrieve-session-time-stamp/128650 "2008-02-09T22:18:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [February 9, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/how-retrieve-session-time-stamp/128650/1 "2008-02-09T22:18:03Z")

</div>

Sessions stored to db have an updated\_at field. I need to get that data.

session.updated\_at doesn’t work. I can’t find any docs on this.

what’s the syntax for doing this? thx.

– gw

---

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [February 10, 2008, 7:48pm UTC](https://www.ruby-forum.com/t/how-retrieve-session-time-stamp/128650/2 "2008-02-10T19:48:14Z")

</div>

Sessions stored to db have an updated\_at field. I need to get that data.

session.updated\_at doesn’t work. I can’t find any docs on this.

what’s the syntax for doing this? thx.

– gw
