2 Replies Latest reply on Aug 23, 2010 5:00 PM by David Rotondo

    cffileupload - return record id after database storage

    David Rotondo

      I am using the cffileupload tag to upload images to a server and store some information about each image into a database.

       

      I'm having trouble working out how to get the Ids of these new records from the process page to be used later on.

       

      The process page successfully moves the file and creates a new record in my database and I can successfully retrieve the new ID for that record I just don't know what to do with it.


      I would like to have a list of ids that I can query in the next page.

       

      I've tried using a session variable but that doesn't seem to work, what other options can I look into?