monitor.inc
上传用户:shbosideng
上传日期:2013-05-04
资源大小:1555k
文件大小:1k
源码类别:

SNMP编程

开发平台:

C/C++

  1. <%
  2.   ' Create ADO connection component to connect with our SQL database.
  3.   Set DBConn = Server.CreateObject("ADODB.Connection")
  4.   DBConn.Open "DSN=SunnyLine"
  5.   ' Redirection URLs used.
  6.   LogOutURL = "/default.asp"                        ' The URL we redirect to when someone logs out of montior.
  7.   MonitorURL = "/login.asp"                         ' The URL we redirect to after a successfull circuit number has been identified.
  8.   NoAuthURL = "/default.asp"                        ' The URL we redirect to when we don't have a database ID for the account anymore.
  9.   ' The session Details
  10.   ID = Session("DBID")                              ' DataBase Entry ID.
  11.   LineNumber = Session("DBLINENUMBER")              ' Circuit Number.
  12.   LinePassword = Session("DBLINEPASSWORD")          ' Circuit Password.
  13.   LineSpeed = Session("DBLINESPEED")                ' Circuit Speed.
  14.   EMail_Address = Session("DBEMAIL_ADDRESS")        ' Contact E-Mail Address.
  15.   Graph_Day = Session("DBGRAPH_DAY")                ' Daily Graphs.
  16.   Graph_Week = Session("DBGRAPH_WEEK")              ' Weekly Graphs.
  17.   Graph_Month = Session("DBGRAPH_MONTH")            ' Monthly Graphs.
  18.   Graph_Year = Session("DBGRAPH_YEAR")              ' Yearly Graphs.
  19.   LastVisit = Session("DBLASTVISIT")                ' Last Time Visited.
  20. %>