I am having one doubt regarding the use of static variable in Asp.net pages.
I am having one page say UserDetails.aspx. In this page, I have one static variable to s
As Adeel already mentioned: static(or shared in VB.Net) variables are application-wide. That means they are the same for every user and exist till webserver is stopped or last session has abandoned.
You could use the Session to store variables that belong to the current User.
If you need access to other user's numberOfReviews(f.e. as administrator or for statistics), you could use database, asp.net-cache or a simple static dictionary with the userid as key.