Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am building my first website in fact I have all the webpages built. My only concern is: supposed a person is not logged in and types the url of a page that is meant for only logged on users ,how do I ensure that the homepage and a log on instruction is served the person rather than the requested webpage.
Posted

1 solution

Start here[^].

There are a number of ways to do this. Read up on some of the various methods and pick the one that best suits your application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900