Use cookies[:name] = whatever in your response action
2009/11/6, Jens MF <jens.is.located (AT) googlemail (DOT) com>:
Quote:
HI: I want to make a JSON GET request and have a 'setCookie' entry in
the http response header. By default there is none.
How can I enable cookies with JSON?
-Jens |
--
Von meinen Mobilgerät aus gesendet
--~--~---------~--~----~------------~-------~--~----~
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 (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---