I am reading "Agile Web Development with Rails, 3rd Edition" and confusing about session-cookie.
On page 474 it has a topic about cookie detection and they talk how to handler cookie-disabled user. And they come up with cookie session idea which from my understanding is a fake session that act as a cookie right ?
What I don’t understand are example codes they use before_filter :cookies_required and asking for request.cookies[session_key] is this the same as cookies variable or this is “fake cookie session” they talking about ?
And if it is “fake cookie session” what about use who have cookie-enabled ? I don’t see any code determine which user do and don’t have cookie?
p.s. don't know whether you can understand my question I'm very confusing right now.
Thanks,