I configured ASP.NET membership and created some users as well as a protected folder. now, what's weird is that after being successfully authenticated, instead of going to the protected page, the login page is loaded again.!
for example, I have a role "HR" and a user "hr1" who is a member of "HR". I have a protected folder "HR" which is supposed to be accessible only to "HR" group.
now, when trying to access the protected folder, I'm redirected to the login page which is a good thing. but after, I give the right login and password, I'm not redirected to the page I tried accessing in the first place.