Solved

Avoiding caching of links

Posted on 2000-03-03
4
210 Views
Last Modified: 2013-11-20
I previously asked if it is possible to avoid caching of webpages seen when someone creates a browser by choosing CHtmlView as the CView-derived class when creating an MFC application.  I successfully avoided caching the page sent whose URL was sent to the CHtmlView::Navigate2 function by setting the appropriate bit in dwflags.  However, every time I clicked on a link, the page that the link took me to would get cached.  Is there a way to avoid this?
0
Comment
Question by:Juan_Diego
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
Wyn earned 250 total points
ID: 2581112
http://msdn.microsoft.com/workshop/c-frame.htm?951459852650#/workshop/networking/wininet/overview/cache.asp

You can delete the cached files or in the setting of internet of contrl panle shut down the feature.
0
 

Author Comment

by:Juan_Diego
ID: 2581636
Adjusted points to 250
0
 

Author Comment

by:Juan_Diego
ID: 2581637
My purpose in being able to shut off the cache is to be able to create whose only task is to read a website with material that I want to protect from copying.  Right now I am only able to do that for the first page you see, and not any page one follows through a link, nor even when one refreshes this first page.

I can manually erase cached files from my machine through the Internet Options in the Control Panel, but is there a way that I can keep people who use my browser from ever seeing the cached material?  The Navigate2 funciton did not accept the flag I gave it from the msdn page.

I am raising the points to 250 if you can successfully find a way for me to prevent not only the first page you see, but every page one links to from being cached.
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2582542
Hi,Juan_Diego.I dont think you carefully examine my answer.You can force every websire downloaded from net to be loaded directly from internet rather than the cache.
If you use IE,you can check your IE settings:
Go to "Internet settings - general tab - temporary internet files - settings" and check for newer versions of pages settings to the "Every visit to the Page" option.
This will do that.

However,another way is enumerating the files in cache and delete them.(the link I gave you above).
But It seems not meet your purpose.
Regards
W.Yinan
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Separate files macro - Errors on larger data set 18 73
post4 challenge 28 104
Work with App store 7 67
How do I get Window Title of all opened process? 4 11
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question