473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

WebForms cached in Temporary Internet Files?

How do I prevent I WebForm from being cached in the "Temporary Internet
Files" folder on the client computer?

The web form is displayed in a popup modal dialog (window.showModalDialog).
If the client closes the popup modal window and re-displays the web form
again, I want the page to be retreived from the server instead of the
temporary internet files folder.

Here's what I've tried (and it didn't work of course):

1. I tried adding buffer="false" on the web form: <%@ Page language="c#"
Codebehind="LockInfo.aspx.cs" AutoEventWireup="false"
Inherits="LienReleasePortal2.LockInfo" buffer="False"%>. That didn't work.

2. On the IIS server, I set the "Enable Content Expiration" properties of
the web form to "Expire Immediately". That didn't work.

Any thoughts?

Donald.
Nov 18 '05 #1
1 2390
just a thought
try using <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
HTH
srini

"Donald" wrote:
How do I prevent I WebForm from being cached in the "Temporary Internet
Files" folder on the client computer?

The web form is displayed in a popup modal dialog (window.showModalDialog).
If the client closes the popup modal window and re-displays the web form
again, I want the page to be retreived from the server instead of the
temporary internet files folder.

Here's what I've tried (and it didn't work of course):

1. I tried adding buffer="false" on the web form: <%@ Page language="c#"
Codebehind="LockInfo.aspx.cs" AutoEventWireup="false"
Inherits="LienReleasePortal2.LockInfo" buffer="False"%>. That didn't work.

2. On the IIS server, I set the "Enable Content Expiration" properties of
the web form to "Expire Immediately". That didn't work.

Any thoughts?

Donald.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Robert Scheer | last post by:
Hi. I have two .js files that are used on several of my pages. I made some changes in one of the files. When I call the pages, the old functions are called because of the browser's cache. What...
1
by: phpninja | last post by:
Greetings, I was wondering if it is possible to delete someone's temporary internet files with javascript? Basically I'm am using a PDF module called HTML_ToPDF. The pdf module takes some output...
5
by: Rosa | last post by:
Hi, I'm trying to clear the TIF on Windows XP programmatically with the below code. This code works fine on any folder but the TIF. For some reason the atEnd() statements always defaults to true...
3
by: Rajiv Das | last post by:
VS 2003, XP SP2 ------------------------------------------------------------ DirectoryInfo temporary = new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.InternetCache));...
0
by: VZUmar | last post by:
Hi I am using IWebBrowser2 in my VC++ windows Application, My application uses browser control to navigate through different web pages. IE of machine has Security setting "Empty Temporary Internet...
7
by: Norton | last post by:
Hi all, I would like to know if there is any method in asp or asp.net to direct the browser to download a file into the Temporary Internet Files directory so that i can make use of vb script to...
4
by: Nicolás Castagnet | last post by:
Hi, I write this post because I notice a strange behavior related with "Temporary Internet Files" and maybe some of you can help me to understand it. I am working in a web application with...
0
by: Timmay | last post by:
I'm looking for a way in vb.net 2005 to find the filename of the cached image for an image in the WebBrowser control. I can get the name of the image (ie: timmay.gif) with...
5
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.