Posted on: 9/16/2014 12:04:21 AM | Views : 431

Hi 
In my application at the first web page will appear for the user is to choose the his country and i have add checkbox in case if user would like to save his location for one month, here is the code of the session"location" 
protected void Page_Load(object sender, EventArgs e) { HttpCookie _userInfoCookies = Request.Cookies["countryCookies"]; string country; if (_userInfoCookies != null) { country = _userInfoCookies["countryCookies"]; Session["location"] = country; Response.Redirect("Berava.aspx"); } } protected void Moveto_Click(object sender, EventArgs e) { Session["location"] = worlddrdolist.SelectedItem.Value; if (CheckBox1.Checked) { HttpCookie _countryCo ...

Go to the complete details ...