Does Rails generates session_id URL parameter when client doesn''t accept cookies ? I am wondering if this is somehow implemented like in for example Java Struts when in case client doesn''t accept cookies Struts generates jsessionid=sessionID and adds this to query string. Thanks -- Karol Hosiawa hosiawak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> Does Rails generates session_id URL parameter when client doesn''t > accept cookies ? > I am wondering if this is somehow implemented like in for example Java > Struts > when in case client doesn''t accept cookies Struts generates > jsessionid=sessionID > and adds this to query string.It does currently not, no. You can, however, pass the sess_id around yourself if you please. That''ll work. I know of at least one guy doing that. You could also work on a patch that would make it automatic ;) -- David Heinemeier Hansson, http://www.basecamphq.com/ -- Web-based Project Management http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.loudthinking.com/ -- Broadcasting Brain
On Apr 15, 2005, at 4:04 AM, David Heinemeier Hansson wrote:>> Does Rails generates session_id URL parameter when client doesn''t >> accept cookies ? >> I am wondering if this is somehow implemented like in for example >> Java Struts >> when in case client doesn''t accept cookies Struts generates >> jsessionid=sessionID >> and adds this to query string.> It does currently not, no. You can, however, pass the sess_id > around yourself if you please. That''ll work. I know of at least one > guy doing that.Would I be able to accomplish this using a before_filter? What should I set so that passing sess_id around will correctly set the session before the page loads? Duane Johnson (canadaduane) _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails