<% Dim sFileName Dim iPos Dim strPreviousPage if Trim(Request.Cookies("Misc")("PreviousPage")) <> "locate.asp" and Trim(Request.Cookies("Misc")("PreviousPage")) <> "submit.asp" and Trim(Request.Cookies("Misc")("PreviousPage")) <> "view.asp"then Response.Redirect("http://" & Request.ServerVariables("SERVER_NAME") & "/welcome.asp") Response.End end if strPreviousPage = Request.ServerVariables("SCRIPT_NAME") strPreviousPage = Right(strPreviousPage, len(strPreviousPage) - Instrrev(strPreviousPage, "/")) Response.Cookies("Misc")("PreviousPage") = strPreviousPage If oPassMgrObj.IsAuthenticated(TimeWindow, ForceLogin) = false then Response.Redirect("http://" & Request.ServerVariables("SERVER_NAME") & "/welcome.asp") Response.End end if sFileName = Request.Cookies("ocaFileName") iPos = Instr(1, sFileName, ",") sFileName = Left(sFileName, iPos - 1) %>

<% = L_VIEW_VIEW_CONTENTS_TEXT %>

<% = L_VIEW_VIEWCONTENTS_BODY_TEXT %>

<% = L_VIEW_CONTENTS_OF_TEXT %>: 

<%Response.Write sFileName%>