title: creating simple cookies in asp.net c#
body: <p>My application needs to store cookies. When a user logs on I want to make sure that if the cookie does not exist create it and store value, but if it does modify it.</p>
  
  <pre><code>if(cookieExist)
   {
      cookiename = "value";
   }
  else
   {
     create a new cookie 
     then store the value;
   }
  </code></pre>
  
  <p>Thanks for any help</p>