asp购物车不显示价格-急

来源:百度知道 编辑:UC知道 时间:2024/06/25 03:38:40
我的购物车不显示价格.读不到记录.好急呀!
代码如下:
-------------------
<!--#include file="conn.asp" -->
<%
Sub PutToShopBag( R_number, ProductList )
If Len(ProductList) = 0 Then
ProductList = "'" & id & "'"
ElseIf InStr( ProductList, R_number ) <= 0 Then
ProductList = ProductList & ", '" & R_number & "'"
End If
End Sub
ProductList = Session("ProductList")
If Len(ProductList) = 0 Then
Response.Redirect "nothing.asp"
response.end
end if
If Request("cmdShow") = "Yes" Then
ProductList = ""
Products = Split(Request("R_number"), ", ")
For I=0 To UBound(Products)
PutToShopBag Products(I), ProductList
Next
Session("ProductList") = ProductList
End If
if productlist<>"" then

cookie清空看看

重起一下电脑试试!

如果有用到windows.open调用新窗口的话,就有可能丢失session
ie5就有这个漏洞

session 过期了
或cookie设置有问题