diff --git "a/42\344\270\201\344\274\237\345\263\260/123/.keep" "b/42\344\270\201\344\274\237\345\263\260/123/.keep"
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/Global.asax" "b/42\344\270\201\344\274\237\345\263\260/123/Global.asax"
new file mode 100644
index 0000000000000000000000000000000000000000..760c31cade779a7a546a2794d83cf290ac2cf247
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/Global.asax"
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.Global" Language="C#" %>
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/Global.asax.cs" "b/42\344\270\201\344\274\237\345\263\260/123/Global.asax.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..ac613b93520f213558ed87b59edc3058e655bf13
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/Global.asax.cs"
@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Security;
+using System.Web.SessionState;
+
+namespace WebApplication1
+{
+ public class Global : System.Web.HttpApplication
+ {
+
+ protected void Application_Start(object sender, EventArgs e)
+ {
+ Application.Lock();
+ Application["sum"] = 0;
+ Application["Zxsum"] = 0;
+ Application.UnLock();
+ }
+
+ protected void Session_Start(object sender, EventArgs e)
+ {
+ Application["sum"] = (int)Application["sum"] + 1;
+ Application["Zxsum"] = (int)Application["Zxsum"] + 1;
+ }
+
+ protected void Application_BeginRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_AuthenticateRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_Error(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Session_End(object sender, EventArgs e)
+ {
+ Application["Zxsum"] = (int)Application["Zxsum"] - 1;
+ }
+
+ protected void Application_End(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx"
new file mode 100644
index 0000000000000000000000000000000000000000..17fcc9284f5b98e01c586897a2feaac24745bec8
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx"
@@ -0,0 +1,35 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx.cs" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..b30acda8bf3521bd334ebe11a0bf58e68e1e38a7
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx.cs"
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebApplication1
+{
+ public partial class WebForm1 : System.Web.UI.Page
+ {
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ string name = txt_Name.Text;
+ string pwd = txt_Pwd.Text;
+ if (name == "admin" && pwd=="123456")
+ {
+ Session["mane"] = name;
+ Session["Nowtime"] = DateTime.Now;
+ Response.Redirect("~/WebForm2.aspx");
+ }
+ else
+ {
+ Response.Write("");
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx.designer.cs" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx.designer.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..cd8802dc08da9c728182678840a1a5af46f72ee2
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm1.aspx.designer.cs"
@@ -0,0 +1,53 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace WebApplication1
+{
+
+
+ public partial class WebForm1
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// txt_Name 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txt_Name;
+
+ ///
+ /// txt_Pwd 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txt_Pwd;
+
+ ///
+ /// Button1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Button Button1;
+ }
+}
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx"
new file mode 100644
index 0000000000000000000000000000000000000000..d8c12fa9bf0a2e968e775af9e1a119ee8f783aea
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx"
@@ -0,0 +1,17 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx.cs" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..8d23b2d80f8101bfa79983ed00710c74291e3545
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx.cs"
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebApplication1
+{
+ public partial class WebForm2 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (Session["mane"] != null)
+ {
+ Response.Write("欢迎用户" + Session["mane"] + "登录本系统!
");
+ Response.Write("您登录系统的时间为:" + Session["Nowtime"]);
+ }
+ else
+ {
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ Session.Abandon();
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+}
\ No newline at end of file
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx.designer.cs" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx.designer.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..c5d2e94a7975e1dc83179ef8d96e6fbcf88ff377
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm2.aspx.designer.cs"
@@ -0,0 +1,35 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace WebApplication1
+{
+
+
+ public partial class WebForm2
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// Button1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Button Button1;
+ }
+}
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx"
new file mode 100644
index 0000000000000000000000000000000000000000..d2ba5da33279ec4c12733a868dda6ee7edfd9b7b
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx"
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication1.WebForm3" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx.cs" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..48d6dc4ab391554fdde8b70c897c46181341617c
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx.cs"
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebApplication1
+{
+ public partial class WebForm3 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ Response.Write($"该网站的总访问人数:{Application["sum"]}
");
+ Response.Write($"当前在线人数:{Application["Zxsum"]}");
+
+ }
+ }
+}
\ No newline at end of file
diff --git "a/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx.designer.cs" "b/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx.designer.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..d238098c6699a95839b5de801f83c040fee12617
--- /dev/null
+++ "b/42\344\270\201\344\274\237\345\263\260/123/WebForm3.aspx.designer.cs"
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// 此代码是由工具生成的。
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+namespace WebApplication1
+{
+
+
+ public partial class WebForm3
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+ }
+}