Calling this funtion will redirect user to his last visited page after logging in.
protected void RequestLogin(){ this.Response.Redirect(FormsAuthentication.LoginUrl + "?ReturnUrl=" + this.Request.Url.PathAndQuery);}
Post a Comment
No comments:
Post a Comment