September 2007
Intermediate to advanced
600 pages
20h 21m
English
Assume for the moment that you want to require your users to log in as soon as they enter your application. You could put a login form on your application’s front page or home page, but what if a user doesn’t go through that page for whatever reason? For instance, if they use a bookmark or type the URL for some other page, they would bypass your login screen. You must figure out a way to ensure that the user gets prompted for a password on the first page request for each session, regardless of which page they are actually asking for.
A great solution is to use the special Application.cfc file set aside by ColdFusion’s Web application framework, which you learned about in Chapter 19, “Introducing the Web ...
Read now
Unlock full access