General,ASP.NET 2 - Developers Anonymous

Browse by Tags

All Tags » General » ASP.NET 2 (RSS)
Sorry, but there are no more tags available to filter with.
OK! Its official. Static variables are really really really evil. and naturally I found out the hard way. Now I have used static variables in a few places. Usually just to keep track of who has what permissions on the current page, the PrimaryKey of the entry they working on and so forth. To my surprise, we have discovered that these static variables are carried between user sessions. And by that I don't mean you log off and log back on and the variable still has a value. I mean, that when a...
Posted by Trivium DawnWalker | 2 comment(s)
Filed under: ,