Thread: Auto Refresh

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    1
    Rep Power
    0
    hi
    I would like to force the browser to get a new page everytime a visitor enters my site. Currently the browser uses cached information.
    thank you
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    17
    Rep Power
    0
    there is some meta tag function that stops your page being cached full-stop, something about "no-cache". Try searching for it on altavista or the MS knowledge base

    ------------------
    Stop slaggin off tuna
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    17
    Rep Power
    0
    <HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

    put that in the head section. It will not work for IE 5 apparently, or IE 4 I am now reading...damn. Try an altavista search for some tool, but the Microsoft document referring to it it at http://support.microsoft.com/support.../Q234/0/67.ASP

    Does that help?

    ------------------
    Stop slaggin off tuna
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Alkmaar, The Netherlands
    Posts
    123
    Rep Power
    14
    That's not all of it. You need to send the HTTP-header pragma:no-cache instead. Because there is caching on more locations than just the browser. In proxy servers for example, and even the webserver itself. When you use the META equivalent mentioned above you only tell the browser not to cache, and IE doesn't even listen to that.

    Only thing is you need to have access to the webserver or use some serverside scripting language (like PHP) to send this header.

    ------------------
    Good luck,
    Bas

    ------------------
    E-mail me at: b.vandermeijden@pecoma.nl

IMN logo majestic logo threadwatch logo seochat tools logo