I have class called Utility that contains the Public Shared function below. In it I want to determine the username of the person visiting the page (this is for an internal Intranet). Unfortunately I get an error on
the Request. portion stating...
"Cannot refer to the instance member of a class from within a shared method or shared member initializer without an explicit instance of the class."
Any ideas on how to work around this? [:S]
--------------------------------------------------------
Public Class Utility
Inherits System.Web.UI.Page
Go to the complete details ...