CSN
2005-Nov-27 20:26 UTC
Session ownership conflict when switching to/from development/production
If I have Rails in development mode, sessions are created as one user, but in production mode, they''re created as another user. This causes fatal errors (read permission) if I don''t delete all session files between switching modes. Why are two different users being used? I''m using SCGI. csn __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
Dick Davies
2005-Nov-28 12:06 UTC
Re: Session ownership conflict when switching to/from development/production
Are you sure you weren''t running webrick (as you)? On 27/11/05, CSN <cool_screen_name90001-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> If I have Rails in development mode, sessions are created as one user, but in production mode, > they''re created as another user. This causes fatal errors (read permission) if I don''t delete all > session files between switching modes. Why are two different users being used? I''m using SCGI. > > csn > > > > __________________________________ > Yahoo! Music Unlimited > Access over 1 million songs. Try it free. > http://music.yahoo.com/unlimited/ > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/