#99 ✓resolved
Brian Lopez

ability to find session without updating last_request_at

Reported by Brian Lopez | April 28th, 2009 @ 08:04 PM

Hey Ben, Was just wondering what the possibility was of being able to find a session without updating the last_request_at field?

My use case is that we have a JS function hit the server every 60 seconds to see how much time is left in their current session. Up until now we've been manually handling the last_request_at in the authenticated users session (which is using the cookie store in Rails), but are in the process of trying to migrate to authlogic which uses this field in the database.

If we could prevent UserSession.find from updating last_request_at for a single controller action, that would be enough.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket