<%
'////////////////////////////////////////////////////////地址出错转向处理列表

dim object_request
dim id_request
dim sort_id_request

object_request=trim(request("tr"))
id_request=trim(request("id"))
sort_id_request=trim(request("sort_id"))

'////////////////////////////////////////////////////////


if object_request="goods|detail" and id_request="" then response.redirect "temp.asp?tr=goods|search"
if object_request="news|detail" and id_request="" then response.redirect "temp.asp?tr=news|search"
if object_request="help|detail" and id_request="" then response.redirect "temp.asp?tr=help|search"

'如果没有登陆，点击用户中心自动跳转到登陆界面
if object_request="customer|manage|info" and ((Session("FB_EM_1_ACC_customer_name")="" or Session("FB_EM_1_ACC_customer_name")="guest") or Session("FB_EM_1_ACC_customer_md5password")="" ) then response.redirect "temp.asp?tr=customer|login|form" 

'如果已经登陆，点击登陆界面自动跳转到用户信息管理界面
if object_request="customer|login|form" and Session("FB_EM_1_ACC_customer_name")<>"" and Session("FB_EM_1_ACC_customer_name")<>"guest" and Session("FB_EM_1_ACC_customer_md5password")<>""  then response.redirect "temp.asp?tr=customer|manage|info" 

%>