Hi there,
I am very new to ASP.net. I have just started making a website in ASP.net 2.0.
In this website, i want to have a admin section which can be accessed only after the admin logs in with a login page.
Now I am using custom asp.net script then the Login control for the login page and the username and password are stored in a MS Access database.
I have already made the login page and checking the username and password. Now how can i make other admin pages show only if the admin has logged in. If the admin has not logged and tries to access the admin pages directly, he should be redirected to Login page.
How can this be done, can anyone help me with this.

I have got the solution. Thanks for the reply, but i used sessions to store values and and retrive it on everypage where i need to check the login status.