I am trying to do this. After submitting a form I would like to return to a previous URL that contained URL parameters. What is the best way to do this? Is there a way to save the URL and then recall it later?
Here is the other page of code. I have just insert one cookie to be displayed in the dynamic table called "Table 1". If you have any ideas I am all ears.
WHERE PAM_ID = #URL.4# OR
PAM_ID = #URL.20# OR
PAM_ID = #URL.21# OR
PAM_ID = #URL.22#
</cfquery>
<cfquery name="rsPamInformation" datasource="#Request.DSN#">
SELECT *
FROM C:\CFusionMX7\
WHERE PAM_ID = #URL.5# OR
PAM_ID = #URL.6# OR
PAM_ID = #URL.8# OR
PAM_ID = #URL.9# OR
PAM_ID = #URL.13# OR
PAM_ID = #URL.14# OR
PAM_ID = #URL.15# OR
PAM_ID = #URL.16# OR
PAM_ID = #URL.17# OR
PAM_ID = #URL.18# OR
PAM_ID = #URL.19# OR
PAM_ID = #URL.23# OR
PAM_ID = #URL.24# OR
PAM_ID = #URL.25# OR
PAM_ID = #URL.26#
</cfquery>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
I am going over the code and trying to figure this out pretty much all night. I think what is happening is the form's action submits to itself, then updates the database, and then goes back to my dynamic table via the java code you gave me. But once it goes back to the dynamic form page, the cookie get's set as 0.
I think that is what is happening, but when I try to change the <cfparam name="form.Question1" default="0"> to
<cfparam name="form.Question1" default="1">, the debugger still says the cookie's value is "0".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.