Asp . Net

I have been asked to make a basic secure website with only one username and password. No one can add an account via subscription form. I don't want to know how to create accounts, only securely login with one username and password.
(Keep it simple and basic please).

Recommended Answers

All 2 Replies

This is the C# forum, this is an asp.net question. I advise you post your question there for best answers. But its a simple solution. just use session variables. Create a long in form that compares to a hard coded username and password, if successful, create a session variable for that user called isLoggedIN for something like that, an on all the secure pages redirect if the variable is false.

Just google it, its all over the net.

Yeah, sorry. Thx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.