hi m new to asp.net
and m trying to secure my pages so that if the user is not logged the pages are not accessed to him.
previously i have done in php
like in the following:
if(!isset($_SESSION['adminlogin']) || $_SESSION['adminlogin'] == ''){
header("Location: index.php");
exit;
}
but i don't know how to prevent users from accessing the pages with out login in asp.net
anybody is there to help me?