|
|
|
|
Register for the Safety-Direct automatic update service. News on new standards, new safety products, and "The Safety Special of the Month"
|
|
|
|
|
<%
option explicit
'-------------------------------------------------------------------------
' Client Page : register.asp
'
' Description : This client side page allows the user to enter customer/contact
' information as the first step in the register process.
'
' Notes :
'-------------------------------------------------------------------------
%>
<%
'Quote Info
Dim rs, sSQL, sRedirect
Dim iPhone, iFax, sNotes, customerID
set conn = connectJetdb(path)
Set rs = Server.CreateObject("ADODB.Recordset")
'Response.Write "Customer: " & Session("customer") & " "
customerID = Session("customer")
If customerID = "" Then
customerID = 0
' cleanUp()
End If
sSQL = "SELECT * FROM Customer WHERE customerID = " & customerID & ";"
rs.Open sSQL, conn, 3, 3, 1
'Response.Write "SQL: " & sSQL & " "
'Response.Write "Cart: " & Session("cart") & " "
%>
<%
cleanUp()
Sub cleanUp()
On Error Resume Next
rs.Close
Set rs=Nothing
Set conn=Nothing
End Sub
%>
|
|