META Refresh - loading different websites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • questionit
    Contributor
    • Feb 2007
    • 553

    META Refresh - loading different websites

    Hi

    With HTML tag Meta , it is possible to refresh page and load a different page also on reload.

    Is it possible to reload different websites everytime it is refreshed?

    Can it be done with HTML tags or javacript is needed. Can anyone give me an example in HTML , javascript please

    Thanks
    qi
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    Originally posted by questionit
    Can it be done with HTML tags or javacript is needed.
    that probably won't work, since the refresh is triggered when the UA reads the <meta>. If you want to serve different pages on refresh I recommend using a server side language.

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      I think there would be security issues with that.

      Comment

      • David Laakso
        Recognized Expert Contributor
        • Aug 2008
        • 397

        #4
        Not sure what you mean.

        It is possible, for example, to set a timed meta attribute, enabling a new page(s) to be consecutively loaded within whatever number of seconds you prefer. There are no security issues involved.

        Comment

        Working...