dimanche 28 septembre 2014

How to instantiate object in aspx page one time for hits to share


Vote count:

0




I have a simple aspx page. I need to instantiate a class object myObj one time on first hit. On subsequent hits from clients the same object needs to be used. I am reading a file from local drive when obj is created and also maintaining some state. On subsequent hits I want object to be not created but states to be maintained.



asked 35 secs ago

MvsW

27






How to instantiate object in aspx page one time for hits to share

Aucun commentaire:

Enregistrer un commentaire