Search the web
Sign In
New User? Sign Up
cfajax
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
IE cache issue   Message List  
Reply | Forward Message #2009 of 2032 |
Forgive me if I'm beating a dead horse but searched Google and this
newsgroup for any insight and could find none. I am experiencing
browser cache with my CF_AJAX requests on IE.

The solution is simple, to have Javascript append a unique identifier
to all requests, which ensures that IE will not serve a previously
received version. As far as the unique identifier, appending current
system date time as a URL variable to all requests will work. As such,
where in the CF_AJAX files should I place the following (pseudo) code?

function xxxxxxxxx(url){

// This new code
if(url.indexOf('?') > 0){
url = url + '&cfajaxUID=' + new Date().getTime();
}
else{
url = url + '?cfajaxUID=' + new Date().getTime();
}
// End this new code

// Standard CF_AJAX code for making the AJAX request
blah blah blah.....
}



Any help is greatly appreciated.




Thu Nov 29, 2007 3:27 pm

aden_trace
Offline Offline
Send Email Send Email

Forward
Message #2009 of 2032 |
Expand Messages Author Sort by Date

Forgive me if I'm beating a dead horse but searched Google and this newsgroup for any insight and could find none. I am experiencing browser cache with my...
aden_trace
Offline Send Email
Nov 29, 2007
4:15 pm

No one has any insight?...
aden_trace
Offline Send Email
Dec 6, 2007
12:14 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help