11212121
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user