![]() |
Login script (save username and password somewhere)
Hello,
I need a login script with username and password. After a good login the user may access some pages. These pages must can read the username and the password. I don't want to save the username and the password inside a database. (I'm using these values to login-in inside a mailserver) I also don't want to save it inside the querystring, because the users password. Where and how can I save the username and password? Thanks! |
RE: Login script (save username and password somewhere)
I suggest to save your username or password on the register of your windows or server. If you know how to do that, let you try.
|
Re: Login script (save username and password somewhere)
Use Principal and Identity classes to authenticate users.
There is a standard class for this which you can modify to enhance it for your needs. It stores things like: IsAuthenticated = True/False IsInRole("some role") = True/False Name = "some name" -- Joe Fallon "Arjen" <boah123@hotmail.com> wrote in message news:c5r1pb$t5q$1@news4.tilbu1.nb.home.nl... > Hello, > > I need a login script with username and password. > After a good login the user may access some pages. > These pages must can read the username and the password. > > I don't want to save the username and the password inside a database. > (I'm using these values to login-in inside a mailserver) > > I also don't want to save it inside the querystring, because the users > password. > > Where and how can I save the username and password? > > Thanks! > > > |
| All times are GMT. The time now is 11:33 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.