r p

r p

  • NA
  • 343
  • 0

Global Variables in C#

Oct 3 2013 12:33 PM

I am developing an application for students.
I want to display the total marks of the logged in student on the Header of the Master Page.

When the student clicks on the total marks, the page will go to a details page where student can see all the marks he has received.


The marks are coming from different Web Services. In order to display the Total Marks in Header which is in the Master Page I have to call all the web services.

When I go to the details page again I have to call the same Web Services. This will make the system slower. 
Is there a way to call the Marks Web Services ONCE and store the marks somewhere and use the stored results to display marks on the details page?
Thanks,


Answers (6)