真的没人回答吗?
id=cint(request.querystring("id"))
if isarray(session("flo"))=false then
dim mudcart(20)
for i=0 to 19
mudcart(i)=0
next
session("flo")=mudcart
end if
if isarray(session("gwsl"))=false then
dim gws(20)
for i=0 to 19
gws(i)=0
next
session("gwsl")=gws
end if
for i=0 to 19
if session("flo")(i)=0 then
mudcart(i)=id ->类型错误!
gws(i)=1
session("flo")=mudcart
session("gwsl")=gws
exit for
end if
next