示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         SSOCrossDomain cross = new SSOCrossDomain(this);
         cross.ValidationLogIn("CookieWeb1", new TimeSpan(0, 2, 0));
     }
 }
示例#2
0
        public void Initialize(Page page)
        {
            SSOCrossDomain cross = new SSOCrossDomain(page);

            cross.ValidationLogIn("CookiesTest", new TimeSpan(0, 1, 0));
        }
示例#3
0
        public void Login()
        {
            SSOCrossDomain cross = new SSOCrossDomain(HttpContext);

            cross.ValidationLogIn(cookieName, new System.TimeSpan(0, 2, 0));
        }