Weedpacket;11030959 wrote:Why does the book say it's superior? What reasons are given there?
For best "persistence" - that is, the browser remembering the user that's logging in. Cookies expire, and sessions are lost when browser closes. The book doesn't really explain much on why it's using cookies with sessions, when session cookies are usually used, and the cookie variables are simply copy and pasted unto the session variables - this doesn't make sense.
BTW, the book is published in 2009. Perhaps that may explain a little. And to be fair, the rest of the book has been pretty good.