G
Guest
I need to find a way to share information between two classes, one is an
employee class and the other is a custom error class that inherits from
ApplicationException. These two classes are part of a ClassLibrary project.
The other project has all the web page classes.
My project allows employees to log in using Forms Auth, I do some checking
on the person that is logging in and then after that is good I create an
employee object and that is stored in a session variable.
What I would like is if this employee that logged in gets an error message
at anytime during their use of the web site that the error gets logged with
their userid name. I can log errors and all that, I am logging them to a
database. What I need is just how do I get the error message with the userid
name.
Thanks,
Charles
employee class and the other is a custom error class that inherits from
ApplicationException. These two classes are part of a ClassLibrary project.
The other project has all the web page classes.
My project allows employees to log in using Forms Auth, I do some checking
on the person that is logging in and then after that is good I create an
employee object and that is stored in a session variable.
What I would like is if this employee that logged in gets an error message
at anytime during their use of the web site that the error gets logged with
their userid name. I can log errors and all that, I am logging them to a
database. What I need is just how do I get the error message with the userid
name.
Thanks,
Charles