<% @ Language = VBScript %> <% Option Explicit %> <% On Error Resume Next Dim CookieID Dim vPermission Dim Conn Dim vRSUserAgentID Dim vuseragent CookieID = Request.Cookies("bcbcc3")("CookieID") set conn = server.createobject ("adodb.connection") conn.open "PROVIDER=SQLOLEDB;DATA Driver={SQL Server}; Server=P3NWPLSK12SQL-v09.shr.prod.phx3.secureserver.net; Database=jmahlen123; Uid=jmahlen123; Pwd=Cast0r123;" set vRSUserAgentID = conn.Execute("select useragent from UTvisitors where cookieID = " & CookieID) vuseragent = vRSUserAgentID("usersagent") 'response.write("UserAgent is: " & vuseragent) %> Bob's Coors Cans Reference Site <body> <div align="center"> <center> <table border="0" width="75%" bgcolor="#008080" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0"> <tr align="Center"> <td width="5%" rowspan="2">&nbsp;</td> <TD colspan="2"><font size="5" color="White"> <b>This page uses frames, but your browser doesn't support them. </b> </td> <td width="5%">&nbsp;</td> </tr> <tr align="Center"> <TD colspan="2"><font size="4" color="#FFFFFF">You will need to download and install a web browser that has Frames compatibility.&nbsp; Please refer to the links below as examples of Frames compatible Browsers.</font></td> <td width="5%">&nbsp;</td> </tr> <tr align="Center"> <td width="5%">&nbsp;</td> <TD colspan="2">&nbsp;</td> <td width="5%">&nbsp;</td> </tr> <tr align="Center"> <td width="5%">&nbsp;</td> <TD><font size="2" color="White" face="Courier New">Get the Latest version of Internet Explorer.</td> <TD><font size="2" color="White" face="Courier New">Get the Latest version of Netscape Navigator.</td> <td width="5%">&nbsp;</td> </tr> <tr align="Center"> <td width="5%">&nbsp;</td> <TD>&nbsp;</td> <TD>&nbsp;</td> <td width="5%">&nbsp;</td> </tr> <tr align="Center"> <td width="5%">&nbsp;</td> <TD><font size="1" color="White" face="Courier New"><a href="http://www.microsoft.com/windows/ie/downloads/critical/ie6sp1/default.mspx"><img src="./images/ie.gif"></a></td> <TD><font size="1" color="White" face="Courier New"><a href="http://channels.netscape.com/ns/browsers/default.jsp"><img src="./images/ns.gif"></a></td> <td width="5%">&nbsp;</td> </tr> </center> </div> <tr> <td width="5%">&nbsp;</td> <TD colspan="2">&nbsp;</td> <td width="5%">&nbsp;</td> </tr> <tr> <td width="5%">&nbsp;</td> <TD><font face="Courier New" size="2" color="#FFFFFF">Get the Latest Mozilla FireFox</font></td> <TD>&nbsp;</td> <td width="5%">&nbsp;</td> </tr> <tr> <td width="5%">&nbsp;</td> <TD>&nbsp;</td> <TD>&nbsp;</td> <td width="5%">&nbsp;</td> </tr> <tr> <td width="5%">&nbsp;</td> <TD><font size="1" color="White" face="Courier New"> <p align="center"> <a href="http://www.firefox.com"><img src="./images/firefox-title.png"></a></td> <TD>&nbsp;</td> <td width="5%">&nbsp;</td> </tr> <tr align="Center"> <td width="5%">&nbsp;</td> <TD>&nbsp;</td> <TD>&nbsp;</td> <td width="5%">&nbsp;</td> </tr> </table> <p>&nbsp;&nbsp;&nbsp; </p> </body>