Forms authentication: Capturing User.Identity.Name in a classic ASP page.
From: Lev Vigdorov via .NET 247 (anonymous_at_dotnet247.com)
Date: 06/05/04
- Next message: Lev Vigdorov via .NET 247: "Forms authentication: Capturing User.Identity.Name in a classic ASP page."
- Previous message: Doug Rutledge via .NET 247: "Forms Authentication across multiple apps/servers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 05 Jun 2004 12:34:53 -0700
I created a .Net/C# class, put it in GAC and registered it. I can instantiate this class from an ASP page, but the problem is that it gives me an error, when I call a method if this class with a reference to System.Web.HttpContext.Current.User.Identity.Name in it: "Object reference not set to an instance of an object". Same method called from an aspx page works fine. Any ideas?
--------------------------------
From: Lev Vigdorov
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>SORr9Fgt1UCkCeotdJvurw==</Id>