getcustinfo.asp

来自「能实现用户注册」· ASP 代码 · 共 24 行

ASP
24
字号
<!-- #INCLUDE FILE="odbc_connection.inc" -->
<%
on error resume next
session("EmptyCart")=0
intSessionID=Session.SessionID
CustomerID=request.Cookies("CustomerID")
if (len(CustomerID)=0 or CustomerID="") then CustomerID=Session("CustomerID")
if len(CustomerID)<10 then CustomerID=""

if len(CustomerID)>0 then
	'check customer table for this ID
	%><!-- #INCLUDE FILE="CustTblChk.inc" --><%
	if rows>0 then
		'they exist in our customer table!
		'get the data from the table
		%><!-- #INCLUDE FILE="custTblGetData.inc" --><%
	end if
end if

'write a cookie if we can
%>
<!-- #include file="sendCookies.inc" -->
<!-- #include file="CustForm.inc" -->

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?