% '------------------------------------------------------------------------ ' Title: text.asp ' Description: Retrieves a story from the database with the pid equal to the Request parameter ' Original: Monarch Media ' Review: Andre Daniels 2008-05-07 '------------------------------------------------------------------------ ' Changes ' 2008-05-07 Andre Daniels andre777@ucsc.edu ' clean up and added Check for error to loop over recordset ' ----------------------------------------------------------------------- server.ScriptTimeout= GLOBAL_SCRIPT_TIMEOUT %>
[an error occurred while processing this directive]
[an error occurred while processing this directive]
Review Fall 2007
Review Archive |
<%
'If it is an invalid PID then we print out a message, the end of the page, and just end Processing
If PID = 0 Then
Response.Write("
We are sorry but we cannot find a story to match the story id " & pid & " that was passed to the application. Please use your back button and try another link. ") Elseif (Err.Number > 0) Then PID = 0 Response.Write("The press releases database is currently unavailable. Please check back shortly. ") End If %> <% If PID = 0 Then %>
|
[an error occurred while processing this directive]