I am using Ajax in my web application. but just because of browsers cache i am getting problem. I am using Internet Explorer. If any one having an idea regarding this please tell me. [ January 13, 2007: Message edited by: vijay saraf ]
Thanks
Vijay Saraf.
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
posted
0
Originally posted by vijay saraf: Hello All,
I am using Ajax in my web application. but just because of browsers cache i am getting problem. I am using Internet Explorer. If any one having an idea regarding this please tell me.
[ January 13, 2007: Message edited by: vijay saraf ]
Are you getting the same old data for each request? Because browser cache response and returns that only again and agian.
If yes then make your request different each time by sending one more extra parameter called 'time'.
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
you probably should switch to post
or
xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");