Is it possible to check the session object from a windows form?

I'm making a shared assembly and I want it to work with my windows forms and
my asp.net forms. If asp.net is calling it I want it to check for somehitng
in the session object. If the windows form is calling it then I don't want
it to bypass the session check. How can I do this (c#)

Thanks!

Re: sission object by Richard

Richard
Fri Feb 27 17:09:28 CST 2004

System.Reflection may help...just an idea, don't kill me!

<rob-morgan@insight.rr.com> wrote in message
news:umeiAMY$DHA.688@tk2msftngp13.phx.gbl...
> Is it possible to check the session object from a windows form?
>
> I'm making a shared assembly and I want it to work with my windows forms
and
> my asp.net forms. If asp.net is calling it I want it to check for
somehitng
> in the session object. If the windows form is calling it then I don't
want
> it to bypass the session check. How can I do this (c#)
>
> Thanks!
>
>