Is there a way I can restrict access to pages without the built in role based way?
Essentially if the user tries to access admin.aspx then it redirects to login.aspx&redirect_url=admin.aspx
\then, they will postback with their credentials and I will give them a session cookie and so forth.
Is there an example of this?
Thanks
Edit:
I cannot use the way ASP.NET does it because my database has employees with usernames and passwords. ASP creates its own with roles and such