use of session variable in multiple pages in coldfusion
Posted on 2009-04-03
I have a form where I am currently displaying html code that the user can type in and update, as well as a link to the original file (where the base html source code came from). I want to be able to create a preview button that will render the new code in the form before they save. I thought I could use a session variable to hold the form data, but do not understand how I would I guess pass, or use this on the second page displaying the new generated file.
I've been using <cfset #session.tempInfo# = form.File />
and then set up an onclick=popup.cfm?....and I think this is where I would add a variable.