Login page not redirecting after login to destination page. It was showing Empty Page like "Authentication.aspx". then it showing blank page
Here is the solution for the "Url Redirection after Login success"
Solutions is We need to clear that Cache of particular Repose header of a request by using
"context.Response.Cache.SetExpires(DateTime.Now);"
Example:
=======
public static void AuthenticateUser(HttpContext context)
{
if (context.Session["loggedin_user_cst_key"] == null)
{
context.Response.Cache.SetExpires(DateTime.Now);
context.Response.Redirect("Authentication.aspx", false);
}
}
if any querys contact at ramasubbareddymca@gmail.com
No comments:
Post a Comment