clear out downloaded program files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ruskin

    #1

    clear out downloaded program files

    I have a wee issue, where I have two different web sites;



    On both sites, there is a custom OCX file being used. However, it may be a
    different version on the dev versus the live sites, because I am working on
    it... This is fine, as I have a routine that downloads the OCX file, but MS
    standard only downloads a later version. Hence, if I work in the dev site,
    then switch to live, it still uses the version from the dev site, as that
    has already been dowloaded.

    I did some testing and found, that if I opened 'tools, internet settings,
    settings, view objects' and deleted the file from here, when I went to the
    live site, it downloaded it's OCX file and the version was correct. Problem,
    is that I have to do this every time I go from the dev to the live. Also,
    some operators are using dev for testing then going to live, only to have
    the wrong version of the OCX file.

    Solution; when opening the live site, I clear out the object from the
    downloaded program files... How do I do this programatically ? Is there a
    simple call I can use to purge a specific file from the downloaded program
    files?

    NOTE: I am only allowing IE 5.5 and above to use this webpage, so if the
    solution is IE specific, that's fine...



  • Robert

    #2
    Re: clear out downloaded program files

    > Solution; when opening the live site, I clear out the object from the[color=blue]
    > downloaded program files... How do I do this programatically ? Is there a
    > simple call I can use to purge a specific file from the downloaded program
    > files?
    >
    > NOTE: I am only allowing IE 5.5 and above to use this webpage, so if the
    > solution is IE specific, that's fine...[/color]

    Perhaps you could set the test file to always reload. You could turn
    off caching on your machine. This isn't quite what you are after, but
    perhaps on of the links on this page on caching will provide a clue:

    Covers the how's and why's of Web caching for people who publish on the Web. With FAQs.


    Robert

    Comment

    Working...