Hello - I have written a rails application that, when users authenticate, stores their id into the session like this: session[:user] = user.id Simple enough. I store my sessions using the ActiveRecord Store. When users logout, the session is erased from the database. I would like to be able to determine who is online at any particular time by looking at this session table. I have a Session object, and tried this: @current_sessions = Session.find(:all) @teachers_online = [] @current_sessions.each do |sess| @teachers_online << User.find(sess[:user]) end But that doesn''t work. Rails doesn''t seem to see these sessions like "real" sessions. Does anyone know how to make this work? Thanks, Shelby -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060910/364aea9c/attachment-0001.html