File:class/web/exit.xmls
Function Code:300
Method Code:5
'=' 附近有语法错误。
delete from shopshopcart where UserID=
数据库执行错误
class/web/exit.xmls
$function main(){

@wherek={%#&:UserID={$session[UserID]}%};
//清空购物车
@sqldel={%#&:delete from shopshopcart where {@wherek} %};
$
db.nonQuery(@sqldel);

$session[UserID]=$null;
$session[UserName]=$null;
$session[FessionID]=$null;
$session[FessionName]=$null;
$session[discount]=$null;
$session[OrderID]=$null;
$if($get(url)<>$null){
$content.redirect($get(url));
}
$content.redirect($web.getPath(?xmls=web/index.html));
}