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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to