Hi, I'm having the same problem. Were you able to solve this?
Thanks for your help. PatRoy wrote: > Hi, > > When I log in from a form post to session/create there's a call to > User.authenticate (which in turn puts a :user variable in the session > from the self.current_user call. > > My issue is when I call self.current_user = User.authenticate(...) > from somewhere else and I redirect.. I lose my session variable. How > could this happen? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---