Solved

Avoiding caching of links

Posted on 2000-03-03
4
216 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 98
Expand LInux Boot partition remotly 3 102
List out all word 7 338
Fibonacci challenge 11 138
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…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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