Found a partial solution, that I''ve added to pastie. Still having
trouble getting hold of the session ID from the post, however.
On Nov 4, 12:14 pm, tatyree
<taty...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
wrote:> Hi,
>
> I''ve got a mobile enabled app that needs to be able to pass
> _session_id for certain phones/operators that cannot/will not handle
> cookies. I''ve outlined the problem here and given the code here:
>
> http://pastie.org/307103
>
> Basically, I cannot get form_for to pick up the _session_id on cookie-
> less sessions unless I override it. When I do override form_for to
> have it pass _session_id as a hidden param, the default_url_options
> override then starts working and adding the session_id to the form
> action url. This then breaks the controller when the form is
> submitted (''Only get, put, and delete requests are
allowed.'').
>
> Any thoughts, insights or suggestions would be appreciated.
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---