?
Solved

Avoiding caching of links

Posted on 2000-03-03
4
Medium Priority
?
235 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 1000 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month16 days, 8 hours left to enroll

862 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