File: monitor.inc

package info (click to toggle)
mrtg 2.9.17-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,140 kB
  • ctags: 1,517
  • sloc: perl: 22,688; ansic: 3,536; sh: 1,309; makefile: 319; php: 227; awk: 213; csh: 49; exp: 16
file content (22 lines) | stat: -rw-r--r-- 1,324 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%
  ' Create ADO connection component to connect with our SQL database.
  Set DBConn = Server.CreateObject("ADODB.Connection")
  DBConn.Open "DSN=SunnyLine"

  ' Redirection URLs used.
  LogOutURL = "/default.asp"                        ' The URL we redirect to when someone logs out of montior.
  MonitorURL = "/login.asp"                         ' The URL we redirect to after a successfull circuit number has been identified.
  NoAuthURL = "/default.asp"                        ' The URL we redirect to when we don't have a database ID for the account anymore.

  ' The session Details
  ID = Session("DBID")                              ' DataBase Entry ID.
  LineNumber = Session("DBLINENUMBER")              ' Circuit Number.
  LinePassword = Session("DBLINEPASSWORD")          ' Circuit Password.
  LineSpeed = Session("DBLINESPEED")                ' Circuit Speed.
  EMail_Address = Session("DBEMAIL_ADDRESS")        ' Contact E-Mail Address.
  Graph_Day = Session("DBGRAPH_DAY")                ' Daily Graphs.
  Graph_Week = Session("DBGRAPH_WEEK")              ' Weekly Graphs.
  Graph_Month = Session("DBGRAPH_MONTH")            ' Monthly Graphs.
  Graph_Year = Session("DBGRAPH_YEAR")              ' Yearly Graphs.
  LastVisit = Session("DBLASTVISIT")                ' Last Time Visited.
%>