Delete/Remove Temporary Internet files

M

Manish

Hi all,

Can any one plz suggest me how i can delete my temporary internet files
within my Asp.net page. I am using C# as the code behind lang.

Indeed, i have flash inserted on my .net page, which in turn gets its
values from the xml file which gets generated at the run time according
to the selection of the user in a DropDownList. I want to delete the
flash from the "temporary internet files " folder so that on each
combobox selection, the user must get the new version of the flash.

I would be grateful if some one could suggest a workaround!!

Regards
Manish
 
M

mortb

It is not possible to delete the user's temporary internetfiles.

What you can do, however, is to disable content caching for the flash files.
One way to do this it to serve the flash files through an aspx-page and set
the
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.None)
flag

hope this helps,
mortb
 
Joined
Oct 13, 2006
Messages
1
Reaction score
0
Re : Delete/Remove Temporary Internet files

Thank You Mr.mortb ,

I searched for the solution to delete the Tempory internet files in C#,
i've used the code given by u

HttpContext.Current.Response.Cache.SetCacheability (HttpCacheability.NoCache)

it's working fine.
 
Last edited:
Joined
Sep 13, 2007
Messages
1
Reaction score
0
Delete temporary file

Dear Manish,

I m also facing the same problem as faced by you (flash / xml integration)

It would great helpful to provide me with the solution

Thanks

Harpal


Manish said:
Hi all,

Can any one plz suggest me how i can delete my temporary internet files
within my Asp.net page. I am using C# as the code behind lang.

Indeed, i have flash inserted on my .net page, which in turn gets its
values from the xml file which gets generated at the run time according
to the selection of the user in a DropDownList. I want to delete the
flash from the "temporary internet files " folder so that on each
combobox selection, the user must get the new version of the flash.

I would be grateful if some one could suggest a workaround!!

Regards
Manish
 
Joined
Jun 19, 2008
Messages
1
Reaction score
0
How to delete Temporary Internet files using C#

It is not possible to delete the user's temporary internetfiles.

What you can do, however, is to disable content caching for the flash files.
One way to do this it to serve the flash files through an aspx-page and set
the

HttpContext.Current.Response.Cache.SetCacheability (HttpCacheability.None)

, I am using this in my Page load, but it is not working, can any body suggest where can i use this code.

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top