login.htm
<% @ Language="SavedLogin").HasKeys) {
Response.Redirect("checklogin.asp?Cookie=1")
}
%>
<html>
<head>
<title>精彩春风之登录页面</title>
</head>
<body>
我要登录随风起舞
<FORM ACTION="CheckLogin.asp" METHOD="POST">
电子邮件: <INPUT TYPE="Text" NAME="email" SIZE="40"><BR>
口令: <INPUT TYPE="Password" NAME="Password" SIZE="40"><P>
<INPUT TYPE="Checkbox" NAME="SaveLogin"> 要把登录内容存为Cookie吗?<P>
<INPUT TYPE="Submit" VALUE="登录"><INPUT TYPE="RESET">
</FORM>
checklogin.asp
<%
dim strEmail
if Request.QueryString("Cookie") = 1 then
strEMail = Request.Cookies("SavedLogin")("Email")
else
strEMail = Request.Form("email")
end if
dim bLoginSaved
if Request.Form("SaveLogin") = "on" then
Response.Cookies("SavedLogin")("EMail") = Request("email")
Response.Cookies("SavedLogin")("pw") = Request("password")
Response.Cookies("SavedLogin").Expires = Date + 30
bLoginSaved = True
else
bLoginSaved = False
end if
%>
<html>
<head>
<title>精彩春风之登录验证</title>
</head>
<body>
<% if bLoginSaved then %>
将登录信息保存到Cookie里去<HR>
<% end if %>
欢迎光临随风起舞!<P>
<% if Request.QueryString("Cookie") = 1 then %>
保存成功!<P>
<% end if %>
请确认您的电子邮件: <% = strEMail %>
</body></html>
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
更新日志
- 交错战线角色养成攻略一览
- 群星《2024好听新歌27》AI调整音效【WAV分轨】
- 黑鸭子-《伴你二十年》11CD[WAV分轨]
- 魏新雨《为你祈祷+新歌精逊2CD[WAV]
- 影心、明萨拉你选哪个?国外美女COS《博德3》
- 澳洲女子骑车跌入“自杀树”丛 疼痛持续9个月崩溃
- 育碧公布2024“她创力”计划:为女性游戏人提供辅导
- 刘美君.2017-千色·30总选3CD【环球】【WAV+CUE】
- 群星.2022-星河长明电视原声带【乐有奇思】【FLAC分轨】
- 陈淑桦.1995-淑桦盛开Forever【滚石】【WAV+CUE】
- 《再来一张》评测:出师成败皆系“赌”
- 《银河汉堡店》测评:我是银河走菜王!
- 《末日地带2》评测:酣畅淋漓的“和面”之旅
- 萧煌奇《没事的》[320K/MP3][96.22MB]
- 萧煌奇《没事的》[FLAC/分轨][263.38MB]