Cookie and JSON request

146 views
Skip to first unread message

Jens MF

unread,
Nov 6, 2009, 4:46:20 AM11/6/09
to Ruby on Rails: Talk
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

Jens MF

unread,
Nov 6, 2009, 11:02:31 AM11/6/09
to Ruby on Rails: Talk
I hope at least someone can reproduce this...

mike

unread,
Nov 7, 2009, 12:01:01 PM11/7/09
to rubyonra...@googlegroups.com
Use cookies[:name] = whatever in your response action

2009/11/6, Jens MF <jens.is...@googlemail.com>:
--
Von meinen Mobilgerät aus gesendet
Reply all
Reply to author
Forward
0 new messages