-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEndSession.aspx.cs
36 lines (31 loc) · 1.37 KB
/
EndSession.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Mechsoft.GeneralUtilities;
using log4net;
public partial class Masters_EndSession : System.Web.UI.Page
{
ILog logger = LogManager.GetLogger(typeof(Masters_EndSession));
protected void Page_Load(object sender, EventArgs e)
{
//Session[Cls_Constants.LOGGED_IN_USERID] = Session[Cls_Constants.LOGGED_IN_USERID];
//Session[Cls_Constants.USER_NAME] = Session[Cls_Constants.USER_NAME];
//Session[Cls_Constants.ROLE_ID] = Session[Cls_Constants.ROLE_ID];
//Session[Cls_Constants.FromEmailID] = Session[Cls_Constants.FromEmailID];
//Session[Cls_Constants.CONSULTANT_NAME] = Session[Cls_Constants.CONSULTANT_NAME];
//Session[Cls_Constants.PHONE] = Session[Cls_Constants.PHONE];
//Session[Cls_Constants.Role_Name] = Session[Cls_Constants.Role_Name];
Response.ContentType = "text/xml";
Response.Write("Session Updated - Server Time: " + DateTime.Now.ToString());
// logger.Error("Session Updated - Server Time: " + DateTime.Now.ToString());
//////if (User.Identity.IsAuthenticated == true)
//////{
////// FormsAuthentication.SignOut();
//////}
//////Session.Abandon();
//////Response.Redirect("../Default.aspx");
}
}