Last post Apr 22, 2020 05:19 PM by PatriceSc
Apr 22, 2020 04:29 PM|supratik1979|LINK
I am using password recovery control in my page. Although I stopped calling Membership.GetUser() from anywhere from my Page - ForgotPassword.aspx.cs. But at exit by default it is calling Membership.GetUser() and creating some issue. Can I completely stop
calling Membership.GetUser() for a particular .aspx page?
Apr 22, 2020 05:19 PM|PatriceSc|LINK
Try to test User.Identity.IsAuthenticated so that you call GetUser() only if the user is authenticated. Does it work? If it still doesn't work knowiing which error you have could perhaps help.