F
Filip
Hello,
(ASP.NET c#)
I want to put some common functions into one class and within this class I
need to have access to the Session, Request and Response. This class is not
page behind file!
I keep trying all sorts of namespaces, but to no avail. Keep getting:
"The name 'Session' does not exist in the class or namespace 'xyz xyz xyz'"
and "The type or namespace name 'Page' could not be found (are you missing a
using directive or an assembly reference?)"
Obviously I need to pass in information about the page where the function is
called from, but can't find a way of doing this.
Any help would be appreciated.
(ASP.NET c#)
I want to put some common functions into one class and within this class I
need to have access to the Session, Request and Response. This class is not
page behind file!
I keep trying all sorts of namespaces, but to no avail. Keep getting:
"The name 'Session' does not exist in the class or namespace 'xyz xyz xyz'"
and "The type or namespace name 'Page' could not be found (are you missing a
using directive or an assembly reference?)"
Obviously I need to pass in information about the page where the function is
called from, but can't find a way of doing this.
Any help would be appreciated.