This commit is contained in:
jackchenyang
2024-05-17 15:28:32 +08:00
parent 904833ad7e
commit e8c8ac8d23
28 changed files with 211 additions and 929 deletions
+7 -1
View File
@@ -14,6 +14,8 @@
using System.Data;
using System.Data.SqlClient;
using BLL;
using FineUIPro.Web.common;
using System.Threading.Tasks;
public class Global : System.Web.HttpApplication
{
@@ -47,6 +49,8 @@
// 开启线程
System.Threading.Thread LoadServiceData = new System.Threading.Thread(new System.Threading.ThreadStart(ExpirePoint));
LoadServiceData.Start();
}
private void ExpirePoint()
@@ -60,6 +64,7 @@
ExpirePoint.Elapsed += new System.Timers.ElapsedEventHandler(ExpirePoint_Elapsed);
}
void ExpirePoint_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
@@ -141,7 +146,8 @@
}
}
protected void Session_Start(object sender, EventArgs e)
{
Session.Timeout = 36000;