472,782 Members | 1,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

¿Why there are ASPXs in "Temporary Internet files"?

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 ASP.NET. Recently, I group of user
have problems with it because the values of the sessions were not stored
correctly (the application save the username in a login page, then other
page try to get it and the result was always ""). We restart the web server
and the asp.net session service, but the problem continues. Then, someone
says "Delete the temporary internet files" and eureka!!!!, the application
returned to life for those users.

Question 1: What is the relation between Temporary Internet Files and the
Session?

I start to examine the temporary files, and I find aspx files of my
application there.

Question 2 (and 3): Why there are aspx files in "Temporary Internet Files"?.
I don't want that Internet Explorer cache my aspx files, how can I avoid
this?

Thanks,
Nicolás
Nov 19 '05 #1
4 2278
If you copy any of those "aspx" files,
you'll see that no source code is found in it.

The actual file stored is in .htm format in the Temp internet
files folder, and contains the "rendered HTML" that your
original "aspx" file produced.

Juan T. Llibre
ASP.NET MVP
===========
"Nicolás Castagnet" <nc********@dlya.com.uy> wrote in message
news:%2********************@tk2msftngp13.phx.gbl.. .
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 ASP.NET. Recently, I group of user
have problems with it because the values of the sessions were not stored
correctly (the application save the username in a login page, then other
page try to get it and the result was always ""). We restart the web
server
and the asp.net session service, but the problem continues. Then, someone
says "Delete the temporary internet files" and eureka!!!!, the application
returned to life for those users.

Question 1: What is the relation between Temporary Internet Files and the
Session?

I start to examine the temporary files, and I find aspx files of my
application there.

Question 2 (and 3): Why there are aspx files in "Temporary Internet
Files"?.
I don't want that Internet Explorer cache my aspx files, how can I avoid
this?

Thanks,
Nicolás

Nov 19 '05 #2
I had already seen it. But, why Internet Explorer need to waste time and
space saving the file there?. It shouldn't be cached because is dynamic. So,
the Internet Explorer must request it to the server each time it is needed,
doesn't it?

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ue****************@TK2MSFTNGP10.phx.gbl...
If you copy any of those "aspx" files,
you'll see that no source code is found in it.

The actual file stored is in .htm format in the Temp internet
files folder, and contains the "rendered HTML" that your
original "aspx" file produced.

Juan T. Llibre
ASP.NET MVP
===========
"Nicolás Castagnet" <nc********@dlya.com.uy> wrote in message
news:%2********************@tk2msftngp13.phx.gbl.. .
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 ASP.NET. Recently, I group of user have problems with it because the values of the sessions were not stored
correctly (the application save the username in a login page, then other
page try to get it and the result was always ""). We restart the web
server
and the asp.net session service, but the problem continues. Then, someone says "Delete the temporary internet files" and eureka!!!!, the application returned to life for those users.

Question 1: What is the relation between Temporary Internet Files and the Session?

I start to examine the temporary files, and I find aspx files of my
application there.

Question 2 (and 3): Why there are aspx files in "Temporary Internet
Files"?.
I don't want that Internet Explorer cache my aspx files, how can I avoid
this?

Thanks,
Nicolás


Nov 19 '05 #3
They don't need to be dynamic. IE does not necessarily know whether or not
they are dynamically generated. As far as IE know it is only fetching HTML
content. You could, after all, even map the ASPX file to the file extension
..foo and have those streamed and all IE sees is HTML. IE knows nothing
about where the content came from.
"Nicolás Castagnet" <nc********@dlya.com.uy> wrote in message
news:eu**************@TK2MSFTNGP10.phx.gbl...
I had already seen it. But, why Internet Explorer need to waste time and
space saving the file there?. It shouldn't be cached because is dynamic. So, the Internet Explorer must request it to the server each time it is needed, doesn't it?

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ue****************@TK2MSFTNGP10.phx.gbl...
If you copy any of those "aspx" files,
you'll see that no source code is found in it.

The actual file stored is in .htm format in the Temp internet
files folder, and contains the "rendered HTML" that your
original "aspx" file produced.

Juan T. Llibre
ASP.NET MVP
===========
"Nicolás Castagnet" <nc********@dlya.com.uy> wrote in message
news:%2********************@tk2msftngp13.phx.gbl.. .
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 ASP.NET. Recently, I group of user have problems with it because the values of the sessions were not stored correctly (the application save the username in a login page, then other page try to get it and the result was always ""). We restart the web
server
and the asp.net session service, but the problem continues. Then, someone says "Delete the temporary internet files" and eureka!!!!, the application returned to life for those users.

Question 1: What is the relation between Temporary Internet Files and the Session?

I start to examine the temporary files, and I find aspx files of my
application there.

Question 2 (and 3): Why there are aspx files in "Temporary Internet
Files"?.
I don't want that Internet Explorer cache my aspx files, how can I avoid this?

Thanks,
Nicolás



Nov 19 '05 #4
That is a client setting, not an ASP.NET setting.

However, you can -sort of- instruct IIS to
make clients cache the files you send for a
very short period of time.

To do that, open the IIS Manager
and scroll down to the desired website.

Highlight it, and select "Properties".

Then, select the "HTTP Headers" tab,
and click on the "Enable Content Expiration" checkbox.

Click on the "Expire Immediately" radio button,
and then click OK.

Most browsers will understand the HTTP header
sent by IIS when you configure that setting.

If the browser does not understand that sort of header,
though, it will continue to cache the files you send, but
most browsers will comply with the appended header.

You can implement server-side caching, too,
( look up "Output Cache" ) but that won't
affect client-side caching.

Juan T. Llibre
ASP.NET MVP
===========
"Nicolás Castagnet" <nc********@dlya.com.uy> wrote in message
news:eu****************@TK2MSFTNGP10.phx.gbl...
I had already seen it. But, why Internet Explorer need to waste time and
space saving the file there?. It shouldn't be cached because is dynamic.
So,
the Internet Explorer must request it to the server each time it is
needed,
doesn't it?

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ue****************@TK2MSFTNGP10.phx.gbl...
If you copy any of those "aspx" files,
you'll see that no source code is found in it.

The actual file stored is in .htm format in the Temp internet
files folder, and contains the "rendered HTML" that your
original "aspx" file produced.

Juan T. Llibre
ASP.NET MVP
===========
"Nicolás Castagnet" <nc********@dlya.com.uy> wrote in message
news:%2********************@tk2msftngp13.phx.gbl.. .
> 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 ASP.NET. Recently, I group of user > have problems with it because the values of the sessions were not
> stored
> correctly (the application save the username in a login page, then
> other
> page try to get it and the result was always ""). We restart the web
> server
> and the asp.net session service, but the problem continues. Then, someone > says "Delete the temporary internet files" and eureka!!!!, the application > returned to life for those users.
>
> Question 1: What is the relation between Temporary Internet Files and the > Session?
>
> I start to examine the temporary files, and I find aspx files of my
> application there.
>
> Question 2 (and 3): Why there are aspx files in "Temporary Internet
> Files"?.
> I don't want that Internet Explorer cache my aspx files, how can I
> avoid
> this?
>
> Thanks,
> Nicolás
>
>




Nov 19 '05 #5

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

Similar topics

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: Jim | last post by:
Is it possible to read the Temporary Internet Files folder using C#? I'm messing with FileIO (newbie here) and everything seems to work fine until I try to read the list of files in this Temporary...
2
by: John Saunders | last post by:
I deploy web applications in what may be an odd manner. For every web site "x", I have an "x2" web site which points to an empty directory. I can then use Copy Project in VS.NET to deploy to the...
1
by: Boris | last post by:
We have some .NET 1.1 DLLs which we want to use in a ASP.NET 1.1 web page (actually one is a real .NET DLL in Managed C++ while the others are native Windows DLLs). First we copied all of the DLLs...
1
by: SalamElias | last post by:
I have a VS 2003 VB web project which works fine, in IE, debug....After several browsing in IE or debugging several ti;mes I start to get the ugly error "Configuration Error ", Access is denied:...
13
by: MLH | last post by:
Would like to run the control panel's Internet Date & Time program from VBA - emulating opening it, clicking the Internet Time tab and the Update Now button. I don't really care for the user to...
2
by: Ralf Kaiser | last post by:
Hi, is it possible to define another place where the "Temporary ASP.NET Files" are stored? I do not want to have them on my system partition because i have a separate partition for all the...
2
by: anon.asdf | last post by:
Hello! 1) =============================== When trying to define an array of std::string ... func( (std::string ) { std::string("ab"), std::string("cd"), std::string("ef") } , 3 ); ...
4
by: James Kanze | last post by:
On Nov 18, 5:50 pm, Pete Becker <p...@versatilecoding.comwrote: Has this changed in the latest draft. According to my copy of the standard (version 1998---out of date, I know), "The...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.