File: D:/web archive/conferencesearch (old) (to delete)/book/order-print.asp
<!--#include file="inc-main.asp"-->
<html>
<head>
<title>Order Details</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="print-styles.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="10" marginheight="0" onload="window.print()">
<%
OpenDatabase
Dim LSessionID, LOrderNo
LSessionID = Request.QueryString("sid")
LOrderNo = Request.QueryString("order")
' SessionID is used to make things a bit more secure, to stop people from looking at other peoples details '
OpenQuery("SELECT * FROM delegates WHERE DelegateID='" & LOrderNo & "' AND SessionID='" & LSessionID & "'")
If Not EndOfQuery Then
CloseQuery
GetOrderDetails LOrderNo
ShowOrderConfirmation
Else
CloseQuery
End If
CloseDatabase
%>
</body>
</html>