%@ LANGUAGE="VBSCRIPT" %> <% Option Explicit Response.Buffer = true Response.Expires=0 Dim appPath Dim strUserAgent Dim strBrowser Dim oConn Dim oRS Dim strSql Dim strPersonnel Dim strName Dim strTitle ' initialize session vars appPath = Session("AppPath") call Main Sub Main() '*********************************************** GetFormVars CreateServerObjects BrowserSniffer OutPage Cleanup End Sub '*********************************************** Sub GetFormVars() '*********************************************** ' gather form variables ' nothing to do End Sub '*********************************************** Sub CreateServerObjects() '*********************************************** Set oConn = Server.CreateObject("ADODB.Connection") Set oRS = Server.CreateObject("ADODB.Recordset") oConn.Open Session("ConnectString") End Sub '*********************************************** Sub BrowserSniffer() '*********************************************** strUserAgent = Request.ServerVariables("HTTP_User_Agent") if inStr(1, strUserAgent, "MSIE") <> 0 then strBrowser = "MSIE" else strBrowser = "Netscape" end if End Sub '*********************************************** Sub OutPage() '*********************************************** %>
![]() |
|
![]()
|
|||||||||||||||||||||||||||
| | HOME | SOLUTIONS | SERVICES | PRODUCTS | LIBRARY | COMPANY | CONTACT | SITEMAP | |
2002 © Copyright Arbee Associates |