Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. cache problem

cache problem

Scheduled Pinned Locked Moved C#
sysadminhelpquestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rupel
    wrote on last edited by
    #1

    hi, i'm using XmlDocument.Load(strURL) in my application. when i upload a new version of the file at strURL on my webserver and load that document again in my windows-app via XmlDocument.Load() i still get the old version of the file. when i open my browser, input the url and type reload, my application gets the new version afterwards. so somewhere in between the old version of the file is cached, but i really want XmlDocument.Load() to connect to the server and get the latest version of the file (what my browser does, when i choose "reload"). any suggestions? does this have something to do with the proxy-server in my company here? or is it a behaviour of my windows-system, which can be turned off (by any programmer, for instance me)? ;) :wq

    N 1 Reply Last reply
    0
    • R Rupel

      hi, i'm using XmlDocument.Load(strURL) in my application. when i upload a new version of the file at strURL on my webserver and load that document again in my windows-app via XmlDocument.Load() i still get the old version of the file. when i open my browser, input the url and type reload, my application gets the new version afterwards. so somewhere in between the old version of the file is cached, but i really want XmlDocument.Load() to connect to the server and get the latest version of the file (what my browser does, when i choose "reload"). any suggestions? does this have something to do with the proxy-server in my company here? or is it a behaviour of my windows-system, which can be turned off (by any programmer, for instance me)? ;) :wq

      N Offline
      N Offline
      Nnamdi Onyeyiri
      wrote on last edited by
      #2

      i seem to remember seing something today about caching in .NET is 'powerful', maybe you need to weaken it :-D ;P


      :suss: Email: theeclypse@hotmail.com   URL: http://www.onyeyiri.co.uk
      :suss:"All programmers are playwrights and all computers are lousy actors."

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups