Re: xmlhttp and ie cache

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Robin Hammond (rjNOrhSPAM_at_PLEASEnetvigator.com)
Date: 03/10/05


Date: Thu, 10 Mar 2005 08:51:26 +0800

Jack,

Yes, massively simpler. Add a dummy parameter to your post and change the
dummy value to force a refresh.

e.g. something like
strPost = http://nnn.nnn.nnn.nnn/MyPage.asp?Param1=55&Param2= &
int(rand()*1000)

Robin Hammond
www.enhanceddatasystems.com

"Jack Clift" <JackClift@discussions.microsoft.com> wrote in message
news:EBF72378-8BCC-4A5B-AFDB-DB88ACA9344D@microsoft.com...
>I am using xmlhttp.open and .send to retreive data from the internet. This
> works ok but I have realised that the data retreived is not refreshed from
> the web server, rather is being taken from ie cache (meaning that the data
> is
> effectively useless).
>
> I have tried using .setrequestheaders with a variety of options. This did
> not work.
>
> Clearing the cache does force a requery of the web server, but is not a
> practical solution.
>
> I have found one suggestion in seaches on the web that indicated a
> registry
> setting be changed before the query, and then reset after - seems a bit
> drastic for mine.
>
> Is there a simpler solution to this?
>
> thanks
>
> JC



Relevant Pages

  • Re: xmlhttp and ie cache
    ... Add a dummy parameter to your post and change the ... > Robin Hammond ... >> the web server, rather is being taken from ie cache (meaning that the ... >> practical solution. ...
    (microsoft.public.excel.programming)
  • Re: Internet application
    ... > Have a web server that collates this data and stores it in a database. ... > Allow users to connect to the web server via explorer etc. to request ... Use a Java applet. ... refresh themselves seamlessly. ...
    (comp.programming)
  • Re: Password Change Prompt breaks ASP.NET pages
    ... On some of the other pages, clicking Refresh does not resolve the issue. ... When I run the applications on my workstation (of course the web server is ... "Ken Schaefer" wrote in message ... days before the password expires the user begins to get prompted to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Your opinions please. RE Internet Application
    ... would log button presses, light activations, connections to the web server ... User1 sees only the label referring to button 1 change to "button ... pressed".(no refresh) ...
    (microsoft.public.dotnet.framework.aspnet)
  • asp.net and iis 5.0
    ... Please hit the "Refresh" button in your web browser ... An error message detailing the cause of this specific ... request failure can be found in the application event log of the web server. ...
    (microsoft.public.inetserver.iis)