hello all,
i want to create a login page without registration and database table. i want to use the page for a single user using authentication code in the main code. plz do help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ramchand RepallePosted Nov 12, 2014, 12:56 AM
you can implement in one way like.
1. Create one GUID like : D5AC2C91-03E4-4BE9-9268-314A98BC85EA
2. Place that value in configuration file(Web.config)
3. In Code level, check with config key value with the user entered value if matches then allow the user to access that page.
4. You can easily change at config level if you want to place new value instead of Guid or something else at production level.
Thanks,
Ramchand