In php i used to use
session_start();
if(isset(SESSION["user"]))
{
//session is set
}
els{
// there is no session
}
but do i do that in asp.net? I mean. What code can tells wheather a session is set or not
ex: asp.net c#
//login.aspx
SESSION["USER"];
//user_profile.aspx
if(SESSION["USER"])// how do i validate that??
{
}