Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2003
    Location
    Seoul, Korea
    Posts
    329
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing cashed image without reflesh

    Code:
    code in myPage.htm
    
    <a href='myPage.htm'>myPage</a><br><br>
    
    <img src='myImage.jpg'>
    I have above code in myPage.htm.

    Let's suppose like the following.

    (1) a user open myPage.htm with his browser.

    (2) myImage.jpg is deleted and a new image becomes myImage.jpg by a server-manager.

    (3) He clicks the link "myPage."

    (4) myPage shows the old image which is cashed.

    I like to make like the folllowing.

    (1) a user open myPage.htm with his browser.

    (2) myImage.jpg is deleted and a new image becomes myImage.jpg by a server-manager.

    (3) He clicks the link "myPage."

    (4) myPage shows the new image.

    Can I make it with your help?
    Get my greedy up

  • #2
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Make sure your server is sending the correct modified HTTP header.
    Forget style. Code to semantics. Seperate style from structure, and structure from behaviour.
    I code to specs, and test only in Firefox (unless stated otherwise).


  •  

    Posting Permissions

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