blog.pagesd.info // Archives // Traductions

Méfiez-vous des variables statiques

2008-09-18 #.net

Not sure how many people realize it, but when you start dealing with multiple users access a system (in this case a web server), you have to be very careful what you store in static’s (global variables). This is because all the users will have access to this data and so if you create a page, you could allow them to see data that they shouldn’t.

ASP.NET Tips: Careful Use of Static’s

Ca me rappelle quelque chose :) Et surtout, c’est comme les poux : quand on croit en être débarrassé, y’en a encore…