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

Overcoming CF Login Errors

It is definitely a good idea to password protect pages that should only be accessed by administrators or registered users. Dreamweaver’s Login User server behavior for ColdFusion does most of the work for you, but not all of it. If you just apply the server behavior and have not enabled sessions in your Application.cfm file, you’ll run into errors because the server behavior depends on sessions. If you don’t have an Application.cfm file at the root of your site, create one and insert the following code (at minimum—there are other attributes that you may want to use):


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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