Cant find session user_id while using restful_authentication

Hi guys,
I am using the restful_authentication gem for my logins
after the user has logged in I see his user id in the session dump in
the variable user_id but when i try to access it as session[‘user_id’] i
get a null value… can you tell me whats going wrong here???

On 12 Apr 2008, at 22:56, Warlock handleR wrote:

Hi guys,
I am using the restful_authentication gem for my logins
after the user has logged in I see his user id in the session dump in
the variable user_id but when i try to access it as
session[‘user_id’] i
get a null value… can you tell me whats going wrong here???
Try session[:user_id] (which is not the same thing as
session[‘user_id’])

Fred

Frederick C. wrote:

On 12 Apr 2008, at 22:56, Warlock handleR wrote:

Try session[:user_id] (which is not the same thing as
session[‘user_id’])

Fred

Yes this works… awesome thnx…

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