using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Configuration;
using System.Data.SqlClient;


namespace NScontract.User
{
    /// <summary>
    /// Login 的摘要说明。
    /// </summary>
    public partial class Login : System.Web.UI.Page
    {
        private void InitializeComponent()
        {

        }



        protected void Page_Load(object sender, System.EventArgs e)
        {
            //判断Session是否为空	
            if (Session["NSNickName"] == null)
            {
                //重定向到Index.aspx页面
                Response.Redirect("../Index.aspx");
            }

        }






    }
}
