10 Replies Latest reply on Sep 30, 2008 9:18 AM by Newsgroup_User

    OT: asp vbscript browser detection

    Level 7
      Hello, from some times when I user firefox 2.x or safari on a page with
      browser detection script

      Server.CreateObject("MSWC.BrowserType")

      I get 'Default' browser name, with explorer all works fine... :-/

      howdy
        • 1. Re: OT: asp vbscript browser detection
          Level 7
          .oO(howdy)

          >Hello, from some times when I user firefox 2.x or safari on a page with
          >browser detection script
          >
          >Server.CreateObject("MSWC.BrowserType")
          >
          >I get 'Default' browser name, with explorer all works fine... :-/

          Browser detection is never reliable. Why do you need it?

          Micha
          • 2. Re: OT: asp vbscript browser detection
            Level 7
            Hello Michael, I need to redirect old browser and I won't use
            javascript, it's possible ?

            howdy


            Michael Fesser write:
            > .oO(howdy)
            >
            >> Hello, from some times when I user firefox 2.x or safari on a page with
            >> browser detection script
            >>
            >> Server.CreateObject("MSWC.BrowserType")
            >>
            >> I get 'Default' browser name, with explorer all works fine... :-/
            >
            > Browser detection is never reliable. Why do you need it?
            >
            > Micha
            • 3. Re: OT: asp vbscript browser detection
              Level 7
              No. Why do you need to redirect?

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              ==================


              "howdy" <captain.howdy@nospam.libero.it> wrote in message
              news:gbt5o1$kc8$1@forums.macromedia.com...
              > Hello Michael, I need to redirect old browser and I won't use javascript,
              > it's possible ?
              >
              > howdy
              >
              >
              > Michael Fesser write:
              >> .oO(howdy)
              >>
              >>> Hello, from some times when I user firefox 2.x or safari on a page with
              >>> browser detection script
              >>>
              >>> Server.CreateObject("MSWC.BrowserType")
              >>>
              >>> I get 'Default' browser name, with explorer all works fine... :-/
              >>
              >> Browser detection is never reliable. Why do you need it?
              >>
              >> Micha

              • 4. Re: OT: asp vbscript browser detection
                Level 7
                .oO(howdy)

                >Hello Michael, I need to redirect old browser

                Why? What's an "old" browser?

                >and I won't use
                >javascript, it's possible ?

                No. And in fact it's not necessary. What problems do you encounter in
                "old" browsers? If you would be a bit more specific then I'm sure you'll
                get a much better solution without browser sniffing or any redirection.

                Micha
                • 5. Re: OT: asp vbscript browser detection
                  Level 7
                  I need to switch the css or redirect to another page old browsers (ie5
                  for sample) because I use some transparent png.

                  Michael Fesser write:
                  > .oO(howdy)
                  >
                  >> Hello Michael, I need to redirect old browser
                  >
                  > Why? What's an "old" browser?
                  >
                  >> and I won't use
                  >> javascript, it's possible ?
                  >
                  > No. And in fact it's not necessary. What problems do you encounter in
                  > "old" browsers? If you would be a bit more specific then I'm sure you'll
                  > get a much better solution without browser sniffing or any redirection.
                  >
                  > Micha
                  • 6. Re: OT: asp vbscript browser detection
                    Level 7
                    howdy wrote:
                    > I need to switch the css or redirect to another page old browsers (ie5
                    > for sample) because I use some transparent png.

                    I wouldn't bother, there are so few users that its not worth the effort.
                    If you site gets displayed incorrectly maybe they will then upgrade, or
                    use another computer where it does display correctly?

                    Dooza

                    --
                    Posting Guidelines
                    http://www.adobe.com/support/forums/guidelines.html
                    How To Ask Smart Questions
                    http://www.catb.org/esr/faqs/smart-questions.html
                    • 7. Re: OT: asp vbscript browser detection
                      Level 7
                      .oO(howdy)

                      >I need to switch the css or redirect to another page old browsers (ie5
                      >for sample) because I use some transparent png.

                      Do such browsers really show up in your logs anymore? And even if they
                      do, I wouldn't care anymore. Or do you want your site to look perfect in
                      Netscape 4 as well? Somewhere you simply have to draw the line.

                      I don't even care about IE 6 that much anymore. I also use a lot of PNGs
                      with alpha-transparency, which is not supported in IE 6 (at least not
                      natively). But as long as it doesn't look too bad and all the content is
                      accessible, I can live with some glitches.

                      Write reasonable, standards-compliant markup and CSS, that's the primary
                      goal. Make sure your content is properly structured and also accessible
                      and usable without CSS.

                      Then, if you think you have to fix something in IE here and there, have
                      a look at conditional comments to include an IE-specific stylesheet.
                      That's the recommended and most reliable way to supply workarounds. If I
                      remember correctly they're supported as of IE 5. But as said - if this
                      browser doesn't show up in your logs anymore, you don't really have to
                      care about it. It would be too much work for nothing.

                      Micha
                      • 8. Re: OT: asp vbscript browser detection
                        Level 7
                        Hello Michael, I thankyou for your suggestion, I see on web stats some
                        users with ie5, I try to write some specific style ;-)

                        Michael Fesser write:
                        > .oO(howdy)
                        >
                        >> I need to switch the css or redirect to another page old browsers (ie5
                        >> for sample) because I use some transparent png.
                        >
                        > Do such browsers really show up in your logs anymore? And even if they
                        > do, I wouldn't care anymore. Or do you want your site to look perfect in
                        > Netscape 4 as well? Somewhere you simply have to draw the line.
                        >
                        > I don't even care about IE 6 that much anymore. I also use a lot of PNGs
                        > with alpha-transparency, which is not supported in IE 6 (at least not
                        > natively). But as long as it doesn't look too bad and all the content is
                        > accessible, I can live with some glitches.
                        >
                        > Write reasonable, standards-compliant markup and CSS, that's the primary
                        > goal. Make sure your content is properly structured and also accessible
                        > and usable without CSS.
                        >
                        > Then, if you think you have to fix something in IE here and there, have
                        > a look at conditional comments to include an IE-specific stylesheet.
                        > That's the recommended and most reliable way to supply workarounds. If I
                        > remember correctly they're supported as of IE 5. But as said - if this
                        > browser doesn't show up in your logs anymore, you don't really have to
                        > care about it. It would be too much work for nothing.
                        >
                        > Micha
                        • 9. Re: OT: asp vbscript browser detection
                          Level 7
                          Hello Dooza, yes few user with ie5, I try to write specific css for they.
                          Thankyou

                          howdy


                          Dooza write:
                          > howdy wrote:
                          >> I need to switch the css or redirect to another page old browsers (ie5
                          >> for sample) because I use some transparent png.
                          >
                          > I wouldn't bother, there are so few users that its not worth the effort.
                          > If you site gets displayed incorrectly maybe they will then upgrade, or
                          > use another computer where it does display correctly?
                          >
                          > Dooza
                          >
                          • 10. Re: OT: asp vbscript browser detection
                            Level 7
                            .oO(howdy)

                            >Hello Michael, I thankyou for your suggestion, I see on web stats some
                            >users with ie5, I try to write some specific style ;-)

                            Then try it with a conditional comment, as suggested.

                            About Conditional Comments
                            http://msdn.microsoft.com/en-us/library/ms537512.aspx

                            Micha