title: .net creating cookies client side for different browsers
body: <p>What I'd like to do is to create different cookie values for different browsers in .NET environment(cache with the same functionality is also ok, but I couldn't figure out how to use cache for that).</p>
  
  <p>To clarify, I want users to be able to open my web app in different browsers simultaneously(e.g. on both Chrome and Firefox at the same time) where different values of a cookie can be used on the different browsers(for instance, cookie name is "MyCookieKey", i'd like to store a value V1 for Chrome and store a different value V2 for Firefox). <strong>And the cookie should be valid for solely the clientside.</strong></p>
  
  <p>What I've tried till now(separately):</p>
  
  <pre><code>HttpContext.Current.Request.Cookies,
  
  HttpContext.Current.Response.Cookies,
  
  HttpCookieCollection.
  </code></pre>
  
  <p>When I've used <code>HttpContext.Current.Request</code> or <code>HttpContext.Current.Response</code>, my app didn't work(i couldn't figure out what exactly the problem).</p>
  
  <p>When I've used <code>HttpCookieCollection</code>, different browsers shared the cookie.</p>
  
  <p>Regards.</p>