Hello developers,
I am wondering how I can write this property without session variable:
1 /// <summary>
2 /// Property to check wether or not a user has been granted access through the login procedure
3 /// </summary>
4 public static bool Access
5 {
6 get
7 {
8 if (HttpContext.Current.Session["Access"] != null)
9 {
10 if (HttpContext.Current.Session["Access"].ToString() == "True") ...
Go to the complete details ...