O'Reilly logo

Mastering KnockoutJS by Timothy Moran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Handling logins

Handling logins can be tricky for a variety of reasons, and there are hundreds of different techniques out there. Web application login generally falls in one of two categories: either your site is free to browse without being logged in (anytime login), or it uses and requires the user to log in first (gated login). The challenges presented by each category are different, and so are the best solutions.

Gated login

Until fairly recently, almost all gated login sites used some redirection pattern to present a login page to users, which was usually an unpleasant experience. Beyond the issue of page load time, getting back to the originally requested URL generally meant query string parameters that contained the original URL. If the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required