asp.net profiles not working in global.asax?
- by Martin Ongtangco
Hello,
i have a class that returns the parameters i've set in the profile properties in web.config. It works great on classes, but I cannot seem to make it work under the Global.asax?
Here is how I get the parameter:
public static string MissingPagePath
{
get { return HttpContext.Current.Profile.GetPropertyValue("MissingPage").ToString(); }
}
Help!