Did some debugging with the cf_debug tag and have found some weird goings
on.
I found out that when I click on a second table row it appends it's query
strings to the previous query string.
What I end up with is this:
CGI.QUERY_STRING: unique_no=112945&Edit_ID=40?unique_no=112945&Edit_ID=39?
or if I click on four rows, the forth click requests sends a query string
where evrything is repeated four times?
CGI.QUERY_STRING:
unique_no=112945&Edit_ID=40?unique_no=112945&Edit_ID=39?unique_no=112945&Edi
t_ID=38?unique_no=112945&Edit_ID=37
How does this happen?
I did a view source of the table and it doesn't these repetitions in it's
code.It still reads:
<td class="text"
onClick="top.data_pane.location.pathname='/maintenance/add_project-form.cfm?
Edit_ID=42';"> Test6
</TD>
-----Original Message-----
From: Kevin Gilchrist [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:26 AM
To: CF-Talk
Subject: Browser is caching files even when I use META tags to prevent
cac hing.
Hi all,
I'm developing a small intranet app where I have two panes, a top-half and
bottom-half.
The top frame contains a table where a user can click on a cell and it
triggers an update to the bottom frame.
This only works for the first time a user clicks on a cell.
Each row has a unique primary key field that I insert into the URL as
Edit_ID.
The table cell code looks like this:
<td class="text"
onClick="top.data_pane.location.pathname='/maintenance/add_project-form.cfm?
Edit_ID=42';"> Test6
</TD>
I also have the following meta tags at the top of each page:
<META http-equiv="expires" content="Thu, 1 October 1998 00:00:00 PST">
<META http-equiv="pragma" content="nocache">
<META http-equiv="cache-control" content="no-cache">
Is there something I'm missing?
Thanks,
Kevin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists