ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

IE6 Redirect w/ Cookie

February 18, 2009 10:57am

Subscribe [7]
  • #1 / Feb 18, 2009 10:57am

    jtree

    255 posts

    I recently found the following article detailing how users visiting this site with Internet Explorer 6 are re-directed to a page suggesting they download a new browser - http://www.daobydesign.com/blog/2007/06/detect-redirect-script-for-internet-explorer-ie/

    I’m wondering if anyone has any idea on how this can be modified so that IE6 users still see the upgrade page but they aren’t required to upgrade their browsers to visit the site.  So there would be a message saying something along the lines of:

    “Please upgrade your browser to one of the following browsers to get the most from this site.  (List of Browsers Here)  You can view the site anyway but pleased be advised that some options will not be available.”

    I’m guessing this would require some kind of cookie?  If anyone could provide some help getting this setup I’d appreciate it.  Thanks!

  • #2 / Feb 18, 2009 11:13am

    Ingmar

    29245 posts

    Take a look at http://explorerdestroyer.com/. Easy to modify, does basically what you want.

  • #3 / Feb 18, 2009 11:24am

    jtree

    255 posts

    This is cool, thanks for the link.  It looks like level 2 might work, but what if we only want to stop them if they have IE6?  This appears to stop them if they are using Internet Explorer, regardless of version.  Is there any easy way to change it so it only targets IE6 or earlier?  I don’t really know any javascript.

  • #4 / Feb 18, 2009 12:11pm

    Andy Harris

    958 posts

    You could try this. Might need some tinkering, but should do the job.

    I’d recommend that rather than stopping IE6 users, you let them in but warn them that strangeness might be afoot. I don’t personally like the idea of stopping people (as some people, especially in corporate environments, have it forced upon them) but that’s me!

  • #5 / Feb 18, 2009 12:14pm

    jtree

    255 posts

    I’d recommend that rather than stopping IE6 users, you let them in but warn them that strangeness might be afoot.

    Yes, that’s exactly what I’m trying to do.  Thanks for the link this seems like it should work!

  • #6 / Feb 18, 2009 12:42pm

    e-man

    1816 posts

    If you don’t want to use scripting you could always use conditional comments to load a snippet of html with a nag message.

  • #7 / Feb 18, 2009 4:15pm

    Arun S.

    792 posts

    If you don’t want to use scripting you could always use conditional comments to load a snippet of html with a nag message.

    This is what I recommend.  There is no point in being annoying about upgrading.  Some people don’t have a choice.

  • #8 / Feb 19, 2009 5:02pm

    grantmx

    1439 posts

    ... Some people don’t have a choice.

    What?  :coolhmm:  You’re going to have to explain that one, Arun.

  • #9 / Feb 19, 2009 6:05pm

    e-man

    1816 posts

    @grantmx

    Just a simple example, but the institute where I studied translation a few years ago, still ran a network using Windows 2000, with IE6 as only browser on each computer. Sysadmins wouldn’t even allow us to download and install FF. So yeah, some people have no choice :coolhmm:

  • #10 / Feb 19, 2009 6:13pm

    grantmx

    1439 posts

    Wow.  That sucks… :ahhh:

    And quite weird…considering all of the security holes IE6 has.  One would think that those IT geeks would know better.

  • #11 / Feb 19, 2009 6:50pm

    Arun S.

    792 posts

    ... Some people don’t have a choice.

    What?  :coolhmm:  You’re going to have to explain that one, Arun.

    lol.  E-man explained it for me.  Unfortunately, that’s the case at a lot of large institutions.

  • #12 / Feb 20, 2009 9:48am

    e-man

    1816 posts

    Apparently some major newssites in Norway and Sweden are using conditional comments to get their users to dump IE6.
    I’d love to see that turn into a trend, imagine the New York Times or the BBC website doing this :coolgrin:

  • #13 / Feb 20, 2009 9:58am

    Simon Cox

    405 posts

    The company I work for have 300,000 people globally on IE6 today. I have Firefox as well thankfully but that needed dispensation! Big corporates don’t like change - it requires a lot of costly testing.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases