1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
| using Model;
| using System;
| using System.Web;
| using System.Web.Profile;
| using System.Web.SessionState;
|
| public partial class _Session : PageBase<SysUser>, IRequiresSessionState
| {
|
|
| protected void Page_Load(object sender, EventArgs e)
| {
| this.Session.Remove("userinfo");
| this.Session.Abandon();
| this.Response.Write("<script type='text/javascript'>alert('您很久未操作系统,登陆失效,请重新登陆!');parent.location.href='Default.aspx';</script>");
| }
|
| protected void WriteJs(string jsContent)
| {
| }
| }
|
|