%
dim cnConnection
dim rsComments
dim cmComments
Dim strFileName
dim strOptions
dim strDescription
Dim strPreviousPage
Dim strOSVersion
Dim strTrackID
Dim strComments
dim strSystems
Dim strNotes
Dim strOS
dim x
dim iIncidentID
Dim iPos
Dim iLen
Dim bolUpdate
strComments = Request.Cookies("txtComments")
strNotes = Request.Cookies("txtNotes")
Call CVerifyEntry
Call CCreateObjects
Call CCreateConnection
bolUpdate = false
If oPassMgrObj.IsAuthenticated(TimeWindow, ForceLogin) = false then
Response.Redirect("http://" & Request.ServerVariables("SERVER_NAME") & "/welcome.asp")
Response.End
end if
if Request.QueryString("ud") = "1" then
Call CUpdateData
Call CWriteUpdateComplete
bolUpdate = true
end if
if bolUpdate = false then
Set rsComments = cnConnection.execute("Exec GetIncidentInfo " & iIncidentID)
if rsComments.State = adStateClosed then
Response.Write "
" & L_COMMENTS_NO_RECORDS_MESSAGE & "
" Response.Write "" & L_COMMENTS_NO_RECORDS_MESSAGE & "
" Response.Write "