Hi, i''m trying to save a cookie with some especial characters like
this ''diasnd190823===??//<<asddas''
But rails escape this characters.
Anybody knows how can i do that?
I''ve tried this ways without success:
1:
cookies[''mycookie''] = {:value =>
''diasnd190823===??//<<asddas''}
2:
mycookie = CGI::Cookie::new(''name'' =>
''mycookie'', ''value'' =>
''diasnd190823===??//<<asddas'')
respose.headers["cookie"] << mycookie
Thanks,
Alisson Sales
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---