Results 1 to 2 of 2

Thread: Iframe src url caching

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe src url caching

    Hi guys

    I am writing one iframe dynamically from my code like below.

    document.write("<iframe src='" + location + "?querStr=" + querStr"' width='0px' height='0px'></iframe>");

    location is something like - "http://myPage.com/myPage.html" and
    the querStr is some parameters passing to the iframe. querStr contains some parameters which have timestamp appended. So the request url is always unique.
    In IE/FF2 i am seeing proper unique request (200 response code) but in Firefox 3, the url is getting cached. From my code (before sending the request) i can see proper generation of the request but actually the request url gets cached. I saw it using fiddler and the response code is 304.
    Any way to avoid this cahing? I am getting mad..please help!

    Thanks.

  2. #2
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    anyone can help please?

Bookmarks

Posting Permissions

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