Pascal,
I have been thinking about your post, the part about the SESSION
variables not being updated in the session yet. A bell went off and I
figured out my issue.
<SCRIPT>
window.open('ResultSet.cfm','mainFrame');
</SCRIPT>
I just put the code above in the area a process my form variables.
Thanks for all the help!
Regards,
James Blaha
<CFIF IsDefined("Submit")>
<CFIF IsDefined("FORM.submitFlag")>
<CFLOCK SCOPE="SESSION" TYPE="EXCLUSIVE" TIMEOUT="10">
<!--- Delete old stored search criteria. --->
<CFSET StructDelete(SESSION, "Query.xxx")>
<CFSET SESSION.Query.xxx = TRIM(FORM.xxx)>
</CFLOCK>
<CFELSE>
<!--- *** Do Nothing! *** --->
</CFIF>
<SCRIPT>
window.open('ResultSet.cfm','mainFrame');
</SCRIPT>
<CFELSE>
<!--- *** Do Nothing! *** --->
</CFIF>
Pascal Peters wrote:
>Because you do it in the onsubmit of the form, the data is not updated
>in the session yet. You can do the refresh in the onload of the body. If
>you don't want to do it the first time, add some conditional logic to
>write the onload only if form vars exist.
>
>-----Original Message-----
>From: James Blaha [mailto:[EMAIL PROTECTED]
>Sent: donderdag 20 maart 2003 16:22
>To: CF-Talk
>Subject: Hard refresh on a target window?
>
>
>Hello All:
>
>If there a way to do a hard refresh on a target window from another
>frame?
>
>I have a self submitting form the puts the results of my form fields to
>SESSION variables. Then I need to change the mainframe target window
>when the user submits the form, it seems to reload my targeted window
>and not refresh the data the second time the user submits the form.
>
><FORM action="#CGI.SCRIPT_NAME#"
> method="POST"
> name="ApplicantSearch"
> onSubmit="window.open('ResultSet.cfm','mainFrame');">
>
>Regards,
>James Blaha
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4