small medium large xlarge

Generic-user-small
18 Oct 2009, 17:49
Sarun Wongpatcharapakorn (5 posts)

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?

Thanks

You must be logged in to comment