I have the following problem. My application uses sessions to reference the current user with user_id. It is implemented in rails 1.2.5. Now I created a plugin which needs to access session[:user_id]. Due to security reasons I do not want to youse params. But when I access session[:user_id] in the plugin the value is not set. Actually a totally new session is created just for the plugin. Thus neither my session variable nor flash messages work. Is there some trick to use sessions in plugins? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---