try this function to check login status with User Email Id :
public static bool CheckLogin()
{
if (!string.IsNullOrEmpty(Convert.ToString(HttpContext.Current.Session["Email"])))
{
return true;
}
else
{
return false;
}
}
public static bool CheckLogin()
{
if (!string.IsNullOrEmpty(Convert.ToString(HttpContext.Current.Session["Email"])))
{
return true;
}
else
{
return false;
}
}
No comments:
Post a Comment