How to Check whether Session is Expired or not in asp.net

You can check the HttpContext.Current.User.Identity.IsAuthenticated property which will allow you to know whether there’s a currently authenticated user or not.

Leave a Comment