⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shop.asp

📁 学校建站管理系统正式版
💻 ASP
字号:
 <%  
 user_id=session("user_id")
  if user_id="" then
	response.write "<script language='javascript'>"
response.write "location.href='../error.asp';"			
response.write "</script>"
	response.end
end if %>
  <%
'将商品编号Prodid放入购物商品列表ProductList
ProductList = Session("ProductList")
Products = Request("ProdId")
Products = replace(products,"'","")
Products = replace(products," ","")

if productlist="" and Products="" then
	response.redirect "../error.asp?error=007"
	response.end
end if

   If Len(ProductList) = 0 Then
      ProductList = "'" & Products & "'"
   ElseIf InStr( ProductList, Products ) <= 0 Then
      ProductList = ProductList & ", '" & Products & "'"
   End If

Session("ProductList") = ProductList
response.redirect "check.asp"
%>
 

⌨️ 快捷键说明

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