Solved

Avoiding caching of links

Posted on 2000-03-03
4
180 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
List out all word 7 224
string initialization in java 11 103
Smart Camera scanning and reading information 3 87
Not needed 13 58
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now