if (Session["UserLogined"]==null)

    Response.write("您没有登录!");
    Response.End();}
写在Page_Load()里