Why does rails keep installing cookies on users machines, even if I am not ussing th session variable for anything? How do I stop this? Thanks, Scott -- Easily help charity when you shop: www.GiveTeam.org I''m a member of the Give Team, are you?
i discussed this previously with the same question. If you dont want the _session_id cookie created, you have to disable sessions by putting session :disabled => true in application.rb Adam On 5/27/06, Scott Fortmann-Roe <scottfr@gmail.com> wrote:> > Why does rails keep installing cookies on users machines, even if I am > not ussing th session variable for anything? > > How do I stop this? > > Thanks, Scott > > -- > Easily help charity when you shop: www.GiveTeam.org > I''m a member of the Give Team, are you? > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060527/0dfbee70/attachment.html
This doesn''t seem to work for me I''m still getting session cookies. Rails version 1.1.2. On 5/27/06, Adam Denenberg <straightflush@gmail.com> wrote:> i discussed this previously with the same question. If you dont want the > _session_id cookie created, you have to disable sessions by putting > session :disabled => true > > >in application.rb> >Adam> > > > On 5/27/06, Scott Fortmann-Roe <scottfr@gmail.com > wrote: > > > Why does rails keep installing cookies on users machines, even if I am > not ussing th session variable for anything? > > How do I stop this? > > Thanks, Scott > > -- > Easily help charity when you shop: www.GiveTeam.org > I''m a member of the Give Team, are you? > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Easily help charity when you shop: www.GiveTeam.org I''m a member of the Give Team, are you?
hmm maybe they have to be "off" and not "disabled" then ? try session :off in application.rb adam On 5/29/06, Scott Fortmann-Roe <scottfr@gmail.com> wrote:> > This doesn''t seem to work for me I''m still getting session cookies. > Rails version 1.1.2. > > On 5/27/06, Adam Denenberg <straightflush@gmail.com> wrote: > > i discussed this previously with the same question. If you dont want > the > > _session_id cookie created, you have to disable sessions by putting > > session :disabled => true > > > > > > > in application.rb > > > > > Adam > > > > > > > > On 5/27/06, Scott Fortmann-Roe <scottfr@gmail.com > wrote: > > > > > Why does rails keep installing cookies on users machines, even if I am > > not ussing th session variable for anything? > > > > How do I stop this? > > > > Thanks, Scott > > > > -- > > Easily help charity when you shop: www.GiveTeam.org > > I''m a member of the Give Team, are you? > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > -- > Easily help charity when you shop: www.GiveTeam.org > I''m a member of the Give Team, are you? > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060529/480a0518/attachment.html
http://api.rubyonrails.com/classes/ActionController/SessionManagement/ClassMethods.html#M000102 # turn off session management for all actions. session :off -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060529/87643185/attachment-0001.html
session :off does the trick. Thanks guys! On 5/29/06, Codeblogger <codeblogger@gmail.com> wrote:> http://api.rubyonrails.com/classes/ActionController/SessionManagement/ClassMethods.html#M000102 > > # turn off session management for all actions. > session :off > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Easily help charity when you shop: www.GiveTeam.org I''m a member of the Give Team, are you?