Displaying photo from session variable in IE for Mac
-
Here's an interesting compatibility problem. I've set up an application that pulls a given image from a database then places that image in a session variable. That image is then displayed in an IFrame, which links to a separate page that reads and displays the image from the session variable. The user views the entire database record, then can go back to a list and view a different database record (with a different image). This works great in IE, Firefox, Safari, etc, but IE for Mac screws it up. IE for Mac seems to hold the first image in the session variable, and displays that first image whenever another record is displayed. The only way to display the correct image is to refresh the page while the second record is displayed. Any ideas what is causing this? Any thoughts for fixes?
-
Here's an interesting compatibility problem. I've set up an application that pulls a given image from a database then places that image in a session variable. That image is then displayed in an IFrame, which links to a separate page that reads and displays the image from the session variable. The user views the entire database record, then can go back to a list and view a different database record (with a different image). This works great in IE, Firefox, Safari, etc, but IE for Mac screws it up. IE for Mac seems to hold the first image in the session variable, and displays that first image whenever another record is displayed. The only way to display the correct image is to refresh the page while the second record is displayed. Any ideas what is causing this? Any thoughts for fixes?
IMO session variables have nothing to do with the problem you have... more likely is a client's browser cache problem there. I've seen this behavior before in IE, where if you name a picture with the same name to display it, sometimes the file is not downloaded and displayed, and instead uses the picture from the client's cache and displays it, and only when you press refresh is the time when it actually downloads the picture even if it has the same pic name. A workaround I did for this is use random names to display the pictures. I wish I knew a better way :(. daniero
-
Here's an interesting compatibility problem. I've set up an application that pulls a given image from a database then places that image in a session variable. That image is then displayed in an IFrame, which links to a separate page that reads and displays the image from the session variable. The user views the entire database record, then can go back to a list and view a different database record (with a different image). This works great in IE, Firefox, Safari, etc, but IE for Mac screws it up. IE for Mac seems to hold the first image in the session variable, and displays that first image whenever another record is displayed. The only way to display the correct image is to refresh the page while the second record is displayed. Any ideas what is causing this? Any thoughts for fixes?