#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    40
    Rep Power
    11

    refresh adds another record


    How can I stop a page refresh from adding another record?
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,263
    Rep Power
    968
    At the end of the database insert/update/delete, you can do a cflocation to the page you want to display to the user. Then, if they hit refresh, they're only redisplaying this page and not redoing the database action.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    40
    Rep Power
    11
    That worked great! Thanks.

IMN logo majestic logo threadwatch logo seochat tools logo