title: Session variables or cookies
body: <p>I have a system that enables my Intranet users to process database records. Basically records are ticked/unticked and this updates a running total for each that is placed into separate session variables and then submitted to a different database.  Every so often something odd happens and the values in these session variables can double (or worse) and I've never been able to replicate this (it does seem completely random and luckily rare).</p>
  
  <p>I'm thinking about a possible rewrite and am wondering if it is better to go down the road of using cookies to store values temporarily, and then to force them to expire to clear these values. </p>
  
  <p>As an alternative to these, is ViewState applicable here?  I've read about it briefly but have no experience in explicitly setting viewstate values.</p>
  
  <p>My main concern is that my variables were being affected by someone else using the system at the same time but I thought that part of the point of session variables was that they are only accessible by the session in which they were created?</p>