Results 1 to 5 of 5

Thread: OH I hate IE7

  1. #1
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,471
    Blog Entries
    13

    OH I hate IE7

    Just found a nasty feature of IE7.

    People trying to create a new if in statstool would get the 'create' button just fine. They would hit it and the page is set to autorefresh - this works fine in Firefox, but with default settings in IE7, it uses a cached version of the page which promptly shows the 'create' button again !!! It never requests information from the server again..... aaaarrghhhh

    Changing the default behavior in IE7 to check for newer versions of the page every time you visit corrects this, but this seems to me to be such a stupid default.

    I need to research it a bit more to see if there is a server side override. Anyone know ???

    In the meantime I've put in a brief documentation within statstool on initial creation..

    Bok

  2. #2
    Target Butt IronBits's Avatar
    Join Date
    Dec 2001
    Location
    Morrisville, NC
    Posts
    8,619
    Disclaimer: Code optimized for everything except Internet Explorer 7 or 8

    What happens if you press F5 to refresh the page???

    http://www.gcflearnfree.org/computer...tid=15&aid=111

  3. #3
    Stats God in Training Darkness Productions's Avatar
    Join Date
    Dec 2001
    Location
    The land of dp!
    Posts
    4,164
    Bok -

    Welcome to the hell of developing a publicly accessible site

    You'll need to make your XHR request include a timestamp on the end of the url. This will force all versions of all browsers to fetch new data, as they think the page is different. Just add a querystring parameter to the end, and a javascript (new Date()).getTime(), and it should force the update every time.

  4. #4
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,471
    Blog Entries
    13
    Thanks.. I had read something along those lines last night. Not sure how I'll implement it though yet...but I see what needs to be done..

    Might get back to you on specifics, figured you would know....

  5. #5
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,471
    Blog Entries
    13
    So given this is the code to do the reload of the page, how would I go about altering it ?

    method: 'post',
    parameters : Form.serialize($('aliases-data'))

    Bok ???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •