Translate

Tuesday, 18 August 2015

What does Session and Cookies represent in Ruby on Rails?





Cookies are stored key/value pairs (with other attributes such as
expiry,
specification for them is in the HTTP specification and these can
domain, path and ssl requirements) in the client's browser. The
technologies such as Javascript.
(generally) be read by backend languages such as Rails or frontend




Sessions are an unrestricted storage area for applications, generally
used
by the backend language only (due to encryption and hash protection with
server side secrets), although they may be stored in their entirety in a
requests have to come back to the same backend server.
client-side cookie for convenience to avoid "sticky sessions" where

No comments:

Post a Comment