Cookie In ASP.NET | Difference Between Cookie And Session | ASP.NET WebForm
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="CookiesInAsp.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> Username:<asp:TextBox ID="TextBox1" runat="server" Height="26px" Width="184px"></asp:TextBox> <br /> <br /> <asp:Button ID="Button1" runat="server" Text="Submit" OnClick="Button1_Click"/> </div> </form> </body> </html> ABOVE FILE IS WebForm1.aspx using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI...