Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: bakedjake
I have an application variable called 'CurrentSessions'. In this is the number of session the web server has open. I wish to display this on a page a an asp label. I have declare a label called 'NumOfSess'. I have used
NumOfSess.Text = Application("CurrentSessions")
to populate the label. However, when I run the app the label is blank. To check that the variable is passed correctly I did
and the returns the value correctly.
Can you please tell me why
<asp:Label ID="NumOfSess" Runat="server" />
is not picking up the value. If you need I'll sticky you the code. However, it's another persons work in progress so there's some stuff that is commented out because it doesn't work.