• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Day 9. Enhancing Your Applications with ... > Creating an Application with <CFIF>

Creating an Application with <CFIF>

Now let's return to Gargantuan's project. Gargantuan wants its tech employees to supply a password with each entry they input, and you can probably already see where <CFIF> is going to come in handy.

You envision that the best place to insert the password protection is in the input template you built in Day 7, "Changing the Contents of a Database with ColdFusion." In this way, when the employee wants to add the details of a goofy tech-support call, she must also supply a password associated with her username. When the form is posted, ColdFusion will evaluate the password to see whether it matches the one supplied to the employee. If the match is successful, the database will be updated with the call description the user supplied. If not, ColdFusion will return an error message.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint