Hello,

I have a frameset containing 3 frames; banner, AcctList, MainFrame. The page
in AcctList shows the results of a query. If the user inserts a new record
from the page in MainFrame, I need the page in AcctList to update itself. I
can't get the AcctList page to refresh via code.

UpdateAccount (MainFrame)
<!--- do this stuff --->
<cflocation url="RR_ACH_Info.cfm?ACHID=#ACHID#" addtoken="no"> 

Where RR_ACH_Info.cfm is the parent frameset

In RR_ACH_Info.cfm I have some "frame busting code" which should refresh the
contents of the frameset, but doesn't.

<script language="JavaScript"><!--
if (parent != self)
    top.location.href = location.href;
//-->
</script>

The first lines of code in the AcctList page (RR_ACH_Info_AccountList.cfm)
contains this query

<cfquery name="getACHInfo" datasource="#DSN#">
        SELECT CustAccountNum, ACHID
        FROM ACHData
        WHERE ResellerID = #SESSION.RRUpload.ResellerID#
</cfquery>

All pages have this in the <head></head> section to prevent caching:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">

I've done a similar technique in the past, but this frameset is in a pop-up
window. Could that be the problem? Does anyone have any other ideas or
suggestions?

Thanks,
James

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

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

Reply via email to