Forcing image update

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Forcing image update

    I have a page that allows the user to manipulate various data fields, which
    in turn cause the server to modify an image that is displayed on the page.
    Right now, the server just overwrites the old image with the new one, but
    this new image doesn't actually get displayed until I click the "Refresh"
    button in the browser. I assume what's happening is that the image is
    getting cached in the brower and thus it is using the cached image instead
    of the new image. Is there a simple way to stop this from happening? I
    tried adding a "no-cache" meta tag to the page, but that has no effect. I'm
    sure there is a really simple way to accomplish what I want, but so far I
    can't seem to figure it out.

    -Jess


    Big Homer Guest

  2. Similar Questions and Discussions

    1. Dreamweaver Update for Image Viewer
      I am currently using Dreamweaver MX 2004. This has a feature called Image Viewer. I have read that there is a bug that causes it to skip the first...
    2. Update imported image
      YES! exactly. what the hell is going on? this is totally new behavior -- first my computer crashed about 3 times in an hour, and now it can't import...
    3. upload image and update database at same time
      Yes. I don't know how aspupload handles it, but it's often something along the lines of: UploadObject.Form.Items("txtFirstname") or something...
    4. FHMX Redraw Prefs, image update bug
      This is an expansion on my complaint that FHMX linked images are not updating. It gets worse. Can anyone reproduce this? 1. FHMX preferences >...
    5. Update cd image for Woody?
      On Fri, 4 Jul 2003 16:48:03 +0100 (CET) Peter Karlsson <peter@softwolves.pp.se> wrote: CD #1 of Woody 3.0r1 is available here (among other...
  3. #2

    Default Re: Forcing image update

    Hi

    Add a querystring to the image... datetime for example

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Big Homer" <bighomer@tohamil.com> wrote in message
    news:EBoTa.785260$cI2.112376@news.easynews.com...
    > I have a page that allows the user to manipulate various data fields,
    which
    > in turn cause the server to modify an image that is displayed on the page.
    > Right now, the server just overwrites the old image with the new one, but
    > this new image doesn't actually get displayed until I click the "Refresh"
    > button in the browser. I assume what's happening is that the image is
    > getting cached in the brower and thus it is using the cached image instead
    > of the new image. Is there a simple way to stop this from happening? I
    > tried adding a "no-cache" meta tag to the page, but that has no effect.
    I'm
    > sure there is a really simple way to accomplish what I want, but so far I
    > can't seem to figure it out.
    >
    > -Jess
    >
    >

    Vidar Petursson Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139