You can maintain the value of a variable within a
session (ie till the user logs out of your web
application ), which can be maintained between pages.
Session state can be memory based or could be in a
database.As such, 'global variables' are not supported
in ASP.Net.