PDA

View Full Version : ASP, How can we programmatically verify whether the UserName and Password is Correct?



thomaskelly
05-16-2008, 09:36 AM
Hi...

I really need answer for this...
On asp.net, How can we programmatically verify whether the UserName and Password is Correct?
and when i close the application directly and open again, is still in lon in status....?


thanks....

webburu
08-11-2008, 08:44 PM
it is not so difficult, if you store username and password in web.config it is automatically check for you. otherwise if you store them in a database, you have to use user role provider api to work with it.