-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfrmFAQs.aspx.cs
38 lines (32 loc) · 964 Bytes
/
frmFAQs.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
37
38
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace IEF_Visualization
{
public partial class frmFAQs : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string user_name = Session["USER_NAME"] as string;
//string user_name = "stefan21";
//objUserManager.user_name = user_name;
if (user_name == null || user_name == "")
{
//Response.Redirect("frmHome.aspx", false);
}
else
{
lblUser.Text = Session["USER_FULL_NAME"] as string;
//lbl_hi_user.Text = user_name;
}
}
protected void btnLoggOut_Click(object sender, EventArgs e)
{
Session.RemoveAll();
Response.Redirect("frmHome.aspx", false);
}
}
}