• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Webpage auto-refresh

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Webpage auto-refresh

    I've noticed that quite a lot of websites now 'auto-refresh' every x seconds.

    The Telegraph homepage is a good example.

    Not being a web developer, can someone explain how this is done?

    Just curious really.

    #2
    It's done by electricity.

    Comment


      #3
      Originally posted by DimPrawn View Post
      It's done by electricity.
      Can't be, I live in a cave.

      Comment


        #4
        Cue NickFitz and one of his fascinating posts.

        Comment


          #5
          just refreshes 'innit
          Every Saint has a past, Every Sinner a future"


          Originally Posted by Pogle
          I wasnt really into men at the time - IYKWIM

          HTH

          Comment


            #6
            I have a USB powered finger which just presses F5 every few seconds
            Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

            Comment


              #7
              The website contains a subliminal message telling you to press Ctrl and F5 every few seconds. You won't know you are doing it.
              +50 Xeno Geek Points
              Come back Toolpusher, scotspine, Voodooflux. Pogle
              As for the rest of you - DILLIGAF

              Purveyor of fine quality smut since 2005

              CUK Olympic University Challenge Champions 2010/2012

              Comment


                #8
                Originally posted by tino View Post
                just refreshes 'innit
                Sorry, but I need to know how to make sure I won't catch swine flue from it!

                Comment


                  #9
                  In the header of the html file something as simple as:

                  Code:
                  <meta http-equiv="refresh" content="60" />
                  Where 60 is the number of seconds between refreshes.

                  Comment


                    #10
                    Coincidentally I was reading about that yesterday.
                    There's a timer that runs on the client. Every time it ticks, through the magic of Ajax it posts back to the server to get the latest refresh, and rewrites the appropriate bit.

                    Comment

                    Working...
                    X