V
VK
Folks,
In classic ASP, in order to prevent users from trying url directly(maybe
to see some sensitive HTML files) without logging in, I have an asp file
which mains the session("login")=1 variable, which is set as soon as
user logins and include it in all those pages. That way when they try
the url directly, it checks to make that login is 1 and then lets them
in otherwise redirects to error page.
How can the same thing be achieved in ASP.NET?
Many thanks.
In classic ASP, in order to prevent users from trying url directly(maybe
to see some sensitive HTML files) without logging in, I have an asp file
which mains the session("login")=1 variable, which is set as soon as
user logins and include it in all those pages. That way when they try
the url directly, it checks to make that login is 1 and then lets them
in otherwise redirects to error page.
How can the same thing be achieved in ASP.NET?
Many thanks.