Browser compatibility issue, This one is a stranger to me!

Discussion in 'Programming' started by Sleeping Troll, Jun 16, 2009.

  1. #1
    My site http://orbzorbz.com works fine in FF but not in IE. Try it first in FF, select from the menu "Places, Twitter" notice all the nice fresh tweets! Now try in IE... Garbage! pure Garbage! Anybody know what is going on here? filenames are unique, so not a caching issue... unless it is because of this...
    
    [COLOR="Red"]getOrbDataRequest=new Ajax.Request('../php/'+Orb[i].TYPE+'/getOrbData.php',{[/COLOR]
    			method:'get',
    			onSuccess:function(Data){
    				OrbData=Data.responseText.split('~');
    				Orb[i].Img.src='../images/'+Orb[i].TYPE+'/Orbs/'+OrbData[0]+'.png';				Orb[i].Img.snapshot='../images/'+Orb[i].TYPE+'/Snapshots/'+OrbData[0]+'.png';
    				Orb[i].Img.blurb=OrbData[1];
    				Orb[i].Img.Link=OrbData[2];
    				Orb[i].Img.static=0;
    				Orb[i].renew=0;
    				observers(i);
    			}
    		});
    Code (markup):
    Is it possible that IE is caching the string?
     
    Sleeping Troll, Jun 16, 2009 IP
  2. Sleeping Troll

    Sleeping Troll Peon

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Found the Solution!!! WOW! IE is not executing the ajax call! Since it is to the same handler, Rather it is pulling data from cache! yeah I know that is the dumbest thing yet I have seen out of IE! Fortunately the solution is pretty simple... use post instead of get. IE should be eliminated by an act of congress!
     
    Sleeping Troll, Jun 16, 2009 IP
  3. UnknownOne

    UnknownOne Banned

    Messages:
    466
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    lol yup
    Its known to do that
    I wonder why Microsoft don't work on it instead of releasing updates every now and then
     
    UnknownOne, Jun 16, 2009 IP