I'm developing a multiple-city Visitor's system. I want to create a Login page with following details:
Username, Password, City & Gate_Name.
I need to know how should I proceed with creation of tables and then the code.
The City & Gate_Name should be nested. When a city is selected, then only the appropriate gate-name must be displayed in drop-down box below.
Initially, Username & Password must be checked. If they do not match, an error message must be generated. If they match, then the associated city & gate-name must be checked. If they do not match, an error message must be generated. If all the details match, then a Session by UserID must be created and the user must be redirected to the Home Page. A user allotted a particular gate cannot Login from any other city or any other gate.
Although you will have to add fields for City & Gate_Name and custom logic to check it. But the overall philosophy and working will remain the same as it is in this article.
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
Last Visit: 31-Dec-99 18:00 Last Update: 1-Aug-15 0:05