Best of Talk (6/24/03)

 
Jul 19, 2003

by Dina Hess

Title: CFMX Form Submission Hacking
Date: 06/24/03      29 Posts
Summary: How can you prevent a hacker from altering a form's price before it is submitted to the checkout process? Do not rely on FORM variables for final prices; calculate the invoice using database prices instead.
 
Title: Database Availability
Date: 06/24/03      14 Posts
Summary: What's the best way to switch to a backup datasource when a primary datasource is unavailable? Suggestions include using an external application or a custom tag wrapper for CFQUERY...but heed the caveat. For more information about automatic failover, check the archives or the URL at the end of this thread.
 
Title: Charsets When Querying DB
Date: 06/24/03      9 Posts
Summary: How can you force a database to return a specific character set? Add this bit to the connection string in CF Admin under advanced datasource settings:

   useUnicode=true&characterEncoding=iso-8859-1

Since the HTTP header defaults to UTF-8 in CFMX, your templates should also include CFCONTENT and SetEncoding() directives. For more information, take a look at a Macromedia article about internationalization.
 
Title: Vertical Display...
Date: 06/24/03      9 Posts
Summary: Several developers share their code for displaying a list of items in a vertical 4-column format.
 
Title: Blocking IPs ?
Date: 06/24/03      6 Posts
Summary: Need to block IP addresses that originate from a specific country? Search Macromedia's ColdFusion Exchange for the geoLocator CFC written by Paul Hastings. This CFC attempts to determine locale and country based on the user's IP address and browser language.
Related: Re[2]: way OT: blocking IPs?
 

Add a Comment
(If you subscribe, any new posts to this thread will be sent to your email address.)
  
Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting