Beispiel #1
0
 /// <summary>
 ///	To get the value.
 /// </summary>
 public string this[string key]
 {
     get
     {
         return(Cookiee.getState(key));
     }
     set
     {
         Cookiee.saveState(key, value);
     }
 }
Beispiel #2
0
 /// <summary>
 ///	when the page is on initializtion.
 /// </summary>
 /// <param name="e">EventArgs.</param>
 override protected void OnInit(EventArgs e)
 {
     State   = new State(this.Page);
     Cookiee = new Cookiee();
     base.OnInit(e);
 }