block pages
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
if some one can tell how to block pages. i have small website and have abought 10 pages but when i copy and put it in browser they open i want block that want to redirect them to login page . thank you
Each page should check whatever mechanism you use to store who is logged in ( probably the Session ), and if a user is not logged in, redirect to the login page. A base class for all pages is the easiest way to do this.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )