Results 1 to 5 of 5

Thread: Auto redirect

  1. #1
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Auto redirect

    This is my first time posting here and was needing some help regarding auto redirect in html. I have a web page on our local network for my work that uploads screen shots of security cameras around the different locations. I have the page set to auto redirect and when it does refresh it redirects to another page that has a different set of cameras on it. The redirect works but the problem is after leaving this page up and running for several hours it will get stuck after a redirect and will keep trying to load the page for hours and wont redirect. It usually gets stuck on grabbing one of the images of the cameras, and then has problems displaying the image which then causes the page to sit and try to load for hours with no redirect. I was just wondering if there is anything that i can do for this? I am new to html and dont know much so any help will be greatly appreciated.

    Dpat

  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    If it's getting stuck on loading an image, it might seem like your server's getting overloaded, or the camera isn't sending the image...

    If you know where the code that causes the redirect is, could you post it? Because there may be a better method of redirection if the one seems to be freezing up.

    And welcome to DD!

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  3. #3
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    First, thanks for your response. Secondly, I am using Alt in the image tag which i thought would take care of the image not laoding, but sometimes instead it just sits and tries to keep loading the image. I will post the code so you can look at it.

  4. #4
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    This tag:
    Code:
      <meta http-equiv="refresh" content="60;url=http:/fdpages/logo.html">
    should be in the <HEAD> section. (In between the <HEAD> and </HEAD> tags.)

    And also, take the <P> tag out of the beginning (<p><table>) It doesn't need to be there.. As well as the </P> tag at the end.

    Is it the same image not loading every time? or is it random images?

    Thanks,
    X96
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  5. #5
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I put the meta tab in the inside of the head tag and removed the <p> tag. I have this page redirecting after 60 second to another page which you could tell by the code but i have realized that it only sticks on one of the pages and it is usually four images that are the problem. Sometimes they will load about 3/4 of the way then stop and keep trying to load. Which will cause the timer for the auto-redirect to not start since the page is not loaded. I dont know if there is some way saying that if the images doesnt load in x amount of seconds then use the alt image tag.

Bookmarks

Posting Permissions

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