%' Response.Expires = -1000 'Response.ExpiresAbsolute = Now() - 1 'Response.AddHeader "cache-control", "private" 'Response.AddHeader "pragma", "no-cache" strCustomerId = session("CustomerId") strCustomerEmail = session("CustomerEmail") ' Create a recordset object to store specific table information Set objrs = Server.CreateObject("ADODB.Recordset") 'Establish what records you want selected for the SQL query string SQL = "Select * From Clients where (CustomerId = '" + strCustomerId + "') and (CustomerEmail = '" + strCustomerEmail + "')order by CustomerCompany" 'Set the recordset object equal to the SQL query string objrs.Open SQL, objADO, 1, 3 'FUNCTION TheValue(theVar) 'IF Request("error")<>"" THEN 'TheValue=Request(TheVar) 'ELSE 'TheValue=RS(TheVar) 'END IF 'END FUNCTION 'AdminID = Request("AdminID") 'AdminPass = Request("AdminPass") 'Perform = Request("Action") 'AdminSessionID = Request("9054") 'intSessionID = Session.SessionID %>
|
| ||||||||||||||||||||||||