I want to keep it in cookie instead of session

How do I keep the value in a cookie or a header instead of session; I do not know how to keep socket data in session. I tried Application[“socket”]=”127.0.0.1:3306″; did not work Session.Add(“socket”, sender); Socket s = (Socket)Session[“socket”]; try { if (Request.HttpMethod == "POST") { String status = Request.QueryString.Get("status").ToUpper(); if (status == "welcome") { try … Read more

ASP.NET – cannot style forms

I have a problem applying CSS to <form> element and all nested elements inside. I do it by class .header_navbar_form and .header_navbar_form_input in stylesheet header.css, but only bootstrap takes effect. For some reason, other elements, such as <div>, <p>, <h1> are affected by the same stylesheet
Once again: div with id header_navbar_div is affected by the same stylesheet