Trouble with forms-authentication
I used the login control in forms authentication in my web form for a certain folder. That is, the user has to login as admin if he has to access the forms inside that folder.
The problem arises everytime when i execute the form, I've to register as a new user and then login. The form cannot retrieve the previously registered user id from the database ASPNETDB.mdf, although they are present in the database.
Is there a problem with the cookies?Please help.
|