At least when using session cookies (but I suspect this is the same
with all cookie stores), Rails sends the Set-Cookie header in each
response. Is that really necessary if the cookie value does not
change? Are there any considerations for secure or httponly cookies?

My cookies contain information about the user that's logged in and
sometimes couple other pieces of information. Overall, they are read /
used on every request, but rarely changed. So why does Rails have to
send the session cookie back if the value is exactly the same as the
session cookie it received?

In a related question, I'm using Rails 3.1 currently and I can't
figure out how I could prevent cookie from being sent back if the
value hasn't changed. I'm assuming some patch to cookie jar. Any ideas?

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to