Ejemplo n.º 1
0
 /// <summary>
 ///	To get the value.
 /// </summary>
 public string this[string key]
 {
     get
     {
         return(Cookiee.getState(key));
     }
     set
     {
         Cookiee.saveState(key, value);
     }
 }
Ejemplo n.º 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);
 }