HighDots Forums  

Cookie and JSON request

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss Cookie and JSON request in the Ruby On Rails Talk forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jens MF
 
Posts: n/a

Default Cookie and JSON request - 11-06-2009 , 04:46 AM






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

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #2  
Old   
Jens MF
 
Posts: n/a

Default Re: Cookie and JSON request - 11-06-2009 , 11:02 AM






I hope at least someone can reproduce this...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #3  
Old   
mike
 
Posts: n/a

Default Re: Cookie and JSON request - 11-07-2009 , 12:01 PM



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
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.