<%a=request.querystring("a")
if a="login" then
session("islogin")=true
elseif a="logout" then
session("islogin")=false
end if
if session("islogin") then
response.write "<a href='?a=login'>用户登录|用户注册</a>"
else
response.write "<a href='?a=logout>欢迎回来 退出登录</a>"
end if%>
追问欢迎回来 退出登录
我登陆用户前后都显示这个,没显示我登陆的用户名?
追答你的问题那里没有说需要显示登陆的用户名吧,我完全按照问题的描述回答的。