G
Gopi
Hi,
I am using the following code to read ServerManifest.xml
file at Web server. But if I update the ServerManifest.xml
file at server, client doesn't download the latest one. It
shows the cached one always. But if I give url as
http://machinename/MyUpdates/ServerManifest.xml instead of
http://172.16.1.206/MyUpdates/ServerManifest.xml, then
webclient gets the latest one from the server.
Dim myWebClient As New WebClient
Dim remoteUrl As String
= "http://172.16.1.206/MyUpdates/ServerManifest.xml"
Dim myDatabuffer As Byte() = myWebClient.DownloadData
(remoteUrl)
Dim download As String =
System.Text.Encoding.ASCII.GetString(myDatabuffer)
MsgBox(download)
Pls let me know how to avoid client caching to ensure that
Client always gets the latest ServerManifest.xml. I need
to do that in .net code only instead of using IE setting
etc.
TIA
-Gopi
I am using the following code to read ServerManifest.xml
file at Web server. But if I update the ServerManifest.xml
file at server, client doesn't download the latest one. It
shows the cached one always. But if I give url as
http://machinename/MyUpdates/ServerManifest.xml instead of
http://172.16.1.206/MyUpdates/ServerManifest.xml, then
webclient gets the latest one from the server.
Dim myWebClient As New WebClient
Dim remoteUrl As String
= "http://172.16.1.206/MyUpdates/ServerManifest.xml"
Dim myDatabuffer As Byte() = myWebClient.DownloadData
(remoteUrl)
Dim download As String =
System.Text.Encoding.ASCII.GetString(myDatabuffer)
MsgBox(download)
Pls let me know how to avoid client caching to ensure that
Client always gets the latest ServerManifest.xml. I need
to do that in .net code only instead of using IE setting
etc.
TIA
-Gopi