Hi everyone,
I have a problem with forms authentication. It seems to be a problem that occurs a lot (found a lot of people on forums with the same problem) but i can't find a descent solution.
The thing is that when an unauthenticated user wants to access a secured page, he gets transferred to the loginpage.
There he can enter his credentials, after pressing the loginButton the application looks up his id and password in a database. A valid login fires the FormsAuthentication.RedirectFromLoginPage method.
But then it goes wrong: instead of going to the secured page, he returns to the login-page again.
What am i doing wrong ? any help is appreciated
I have a problem with forms authentication. It seems to be a problem that occurs a lot (found a lot of people on forums with the same problem) but i can't find a descent solution.
The thing is that when an unauthenticated user wants to access a secured page, he gets transferred to the loginpage.
There he can enter his credentials, after pressing the loginButton the application looks up his id and password in a database. A valid login fires the FormsAuthentication.RedirectFromLoginPage method.
But then it goes wrong: instead of going to the secured page, he returns to the login-page again.
What am i doing wrong ? any help is appreciated