Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Temporary Internet Files
Started by tempt632 at 10-03-2007 14:37. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  10-03-2007, 14:37
tempt632 is not online. Last active: 6/18/2008 4:13:51 PM tempt632

Top 150 Posts
Joined on 10-16-2006
Posts 16
Temporary Internet Files
Reply Quote
Greetings,

I have encountered a problem that perhaps someone can help out with.

I have developed a asp.net page that uses the LEAD(v 14.5) activeX control to display images from a central server.

Everything works great, but today I noticed that every image that is displayed using the lead control is cached by internet explorer in the temporary internet files folder on the local hard drive.

This is a problem because i am serving sensitive documents that cannot be maintained on the local machine.

What would be the best method to keep these images from being persisted to the local machine?

Thanks!


Using LeadTools 14.5

^^
JAVD
   Report 
  10-04-2007, 9:40
Adam Boulad is not online. Last active: 11/13/2008 4:54:42 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 490
Re: Temporary Internet Files
Reply Quote

Set the BitmapDataPathWriteCache property to False before you load the images using the BitmapDataPath property. If you do this, the Main OCX will prevent the images from being written to the IE Cache.


Adam Boulad
LEADTOOLS Technical Support

   Report 
  10-10-2007, 9:32
tempt632 is not online. Last active: 6/18/2008 4:13:51 PM tempt632

Top 150 Posts
Joined on 10-16-2006
Posts 16
Re: Temporary Internet Files
Reply Quote
Thanks!!!
Using LeadTools 14.5

^^
JAVD
   Report 
  10-23-2007, 16:20
tempt632 is not online. Last active: 6/18/2008 4:13:51 PM tempt632

Top 150 Posts
Joined on 10-16-2006
Posts 16
Re: Temporary Internet Files
Reply Quote
 Adam Boulad wrote:

Set the BitmapDataPathWriteCache property to False before you load the images using the BitmapDataPath property. If you do this, the Main OCX will prevent the images from being written to the IE Cache.



UPDATE:
Setting this property did not work for me under IE 6.  Images were still being cached.

I came up with another solution; on pages that i did not want images to be sent to IE's cache, I forced caching off for the whole page.

This enforcement is done through the Response object and modifying the page headers

if (!IsPostBack)
{
    Response.Buffer = false;
    Response.ClearHeaders();
    Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache);
    Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
    Response.Cache.SetExpires(DateTime.Now);
    Response.Cache.SetValidUntilExpires(false);
}

Using LeadTools 14.5

^^
JAVD
   Report 
  10-24-2007, 3:53
Adam Boulad is not online. Last active: 11/13/2008 4:54:42 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 490
Re: Temporary Internet Files
Reply Quote

What is the build number of the LTOCX14N.OCX and LTKRN14N.DLL on your system32 folder?


Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Internet » Re: Temporary Internet Files

Powered by Community Server, by Telligent Systems