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>
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。