Getting active sessions

hi, i’m wondering if anyone knows a simple way to grab all the active
objects in a system. i’m adding a messaging component to our app and i
want to
enable users who are online to see when they’ve been messaged –
messages are
associated with users, so basically what i want to do is go through the
sessions, find the one for a specific user, and reload it when they’ve
a message.

i’m using rails’ default filesystem-based sessions. i found this post
describes something similar, but it requires changing to db-stored
which i’d rather not do:

aren’t sessions held in memory somewhere? is there any simple way to
just get
them from memeory, rather than the filesystem or db?


This message was sent using IMP, the Internet Messaging Program.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs