% ' Browser Detection: ' Place this code at the top of your ASP page. Set thisBrowser = Server.CreateObject("MSWC.BrowserType") If thisBrowser.Browser = "IE" And CInt(thisBrowser.Version) >= 3 Then Browser = True ' detected IE 3 through 5.5 ElseIf InStr(Request.ServerVariables("HTTP_USER_AGENT"), "MSIE 6") then Browser = True ' detected IE 6 or later... ElseIf InStr(Request.ServerVariables("HTTP_USER_AGENT"), "Netscape/") Then Browser = True ' detected Netscape 7.x or later ElseIf InStr(Request.ServerVariables("HTTP_USER_AGENT"), "Safari/") Then ' detected Safari 1.x or later Browser = True Else ' detected WebTV, Opera, or other non-compatible browser Browser = False End If %>
|
|||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| Home | Internet Banking | Rates | Accounts & Services | What's Up About Williamsville State Bank & Trust | Contact Us | Safety Tips & Privacy Policy |
|||||||||||||||||||||||||||||||||
© 2008. Williamsville State Bank & Trust. All rights reserved. Read our privacy policy. |
|||||||||||||||||||||||||||||||||