登陆页login.asp: <% 其他需要认证的页面index.asp: <%
if request.Form.count>0 then
session(“username”)=request(“username”)
application(session(“username”))=session.SessionID
response.Redirect(“index.asp”)
end if
%>
<form method=post action=””>
<input type=”text” name=”username”><input type=”submit”>
</form>
if application(session(“username”))=session.SessionID then
response.Write(“已经登陆”)
else
response.Write(“没有登陆”)
end if
%>
asp程序中同一个用户不允许同时登陆两次_asp技巧
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » asp程序中同一个用户不允许同时登陆两次_asp技巧
相关推荐
- 暂无文章
