/// <summary>

/// Event handler for the Click event of the btnSaveCookie server control

/// </summary>

private void btnSaveCookie_Click ( object sender, System.EventArgs e )

{

           

// Local Variables

      AppCookie a = null;

 

      // Begin         

     

      a = new AppCookie();

 

      //

      // Place the data from the WebForm into the Cookie

      //

 

      a.FirstName       = this.txtFirstName.Text;

      a.LastName        = this.txtLastName.Text;

      a.EmailAddress    = this.txtEmailAddress.Text;

      a.CartID          = this.txtCartId.Text;

      a.LanguageCulture = this.txtCulture.Text;

 

      //

      // Save the Cookie

      //

 

      a.Save();

 

      this.lblCookieSaved.Visible = true;

 

}// end btnSaveCookie_Click

for(var i=0;i