Posted by: user01 November 10, 2016
ASP .Net - How to restore fields
Login in to Rate this Post:     0       ?        
I need to restore first and lastname from cookie, please help. I am able to retreive the firstname, but can't get it to work when it comes to retrieving the second field (lastname). Here is what I have working for the first field:

protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
if (!(Request.Cookies["FirstName"] == null))
txtFirstName.Text = Request.Cookies["FirstName"].Value;


Thanks
Read Full Discussion Thread for this article