Click to See Complete Forum and Search --> : Declare objects in Global.asax


sonali_k2609
October 15th, 2003, 06:02 AM
Hi

We are trying to declare Hash Table Object in Global.asax file. But we are not able to access the instance of that object on other aspx page.
So can anybody tell me how can i solve this pboblem?

Thanks
Sonu:)

chanti
October 15th, 2003, 06:11 AM
Hi,

Specify a class name for the global.asax and then declare the hashtable as a static member in global.asax. Now u can access this variable using the class name of the global.asax as it is a static variable.

Regards,
Chanti.