Forms Authentication for ASP.NET is extremely powerful in that it lets you
quickly add a layer of security to your Web site. While the simplicity of
setup and implementation makes this form of authentication extremely
attractive, usability can sometimes be downright ugly. The core functionality
of Forms Authentication relies on redirects - first redirecting anonymous
requests to the login page, and then redirecting back to the originally
requested resource. Constant redirects not only annoy users, they can disrupt
your page logic. Mixing in some AJAX with your Forms Authentication will
quickly eliminate the need for most redirects, and the associated negative
effects.
Let's start out by first examining the behavior of forms authentication by
setting up a simple project... (more)
At first glance, you cannot help but notice the similarities between Java and
C#. Looking even closer, you will notice that the similarities do not stop at
the surface. The question is how can you use these language similarities to
your advantage? Suppose you had an application that was already written in
one language, and wanted to port it over to the other? Just how complicated
would i... (more)