Hi,
I'm developing on a Rails project that uses authlogic for authentication. And I have a part in that project that is realized with Flex, and I need to know how a user can be authenticated if he or she is logged in or not.
I've set up a webservice called UserSessionService and was trying to get the user who is logged in, but it doesn't work. If i try to get it with UserSession.find i just get a # as the result (and therefore thats always true).
Here the UserSessionService.rb require 'weborb/context' require 'rbconfig'
class UserSessionService def login UserSession.find end end
I tried to extend the UserSessionServie class from Authlogic::Session::Base, but that doesn't work too.
Anyone an idea?
thx, tux