fail to get Application object???

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: haiwen (haiwen_at_discussions.microsoft.com)
Date: 02/16/05


Date: Wed, 16 Feb 2005 07:55:02 -0800

Hello, sir/madam:

If I add a webForm, there is not problem to access the Applicaton and
Session object;
 but if I add a class and then inherit Page object, I can access Session
object but NOT Application object, I always get NULL reference exception for
Application even the class has the same using statements as the webForm
class.!!!

Could anyone tell me why and help me out?

I do appreciate your help.

haiwen


Quantcast