I want to use this class that I created, an errorhandling class, as a global session variable, be to userd throughout my application.
Can anyone tell me how about to go about this?
Printable View
I want to use this class that I created, an errorhandling class, as a global session variable, be to userd throughout my application.
Can anyone tell me how about to go about this?
You want to use an error handling class as a variable? Why? Can you explain a little more about this? Are you trying to create a global error handler? Why not just follow the usual way of doing it, or do you have a really good reason for this?
I guess I am a little unaware of the normal way of doing things. The thing that I want to do is that everything will use this errorhandler class if an error does occur, even my classes that are outside of the application but are referenced by the application.
If the normal way of doing it can do this, could you please give me a run-down on how this works.
Thanks again.