Wal-Mart Canada index page



  • walmart.ca index page:

    ---------------------------------------- 

    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Wal-Mart Canada</title>
    <script language="javascript">
    function sendRedirect(){
     var url = "wps-portal/storelocator/home.htm";
     window.location=url;
    }

    </script>
    </head>

    <body onload="javascript:sendRedirect();">

    </body>

    </html>

    --------------------------------------------------------

    how about good old meta refresh?



  • [quote user="Wartex"]

    how about good old meta refresh?

    [/quote]

    How about a Response.Redirect()?

    I'm just assuming this code was developed in FP5 (eek) and then plunged into some server-side code which would make any kind of client-side redirecting wholly obsolete.



  • How about a HTTP "Location" header and a 302 status? Oh, wait, that would be real web server administration... and that's not Enterprise enough!



  • Let's not forget that some browsers are configured NOT to follow any redirects, short of a 302.  I believe Windows 2k3 server is configured that way out of the box.  No meta refresh, no window.location=

     



  • Didnt we have something like that with a website from Marlboro?

     

    Just imagine they outsourced this thing to the same brillant developer. This could turn out to be the biggest management WTF of all time!  


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.