Asp.net c# için ;

if (Session["uyeadi"]==null)
{
Response.Redirect("default.aspx");
return;
}


gibi..