Browse by Tags

Related Posts

  • ASP.Net Membership, URL-Rewriting, IIS 7 on hosting server … Not working.

    Hello, I'm facing a strange problem in my website, and it's driving me completely crazy since I've been working on it for at least two weeks now, I would really appreciate any help or suggestions or tips, especially by Microsoft team because it seems to be an internal error (internal bug...
    Posted to Security (Forum) by Iyad K on 09-11-2008, 12:00 AM
    Filed under: URL-Rewriting, GetUser, IIS 7 on hosting server, Nullreference, membership
  • Performance: Calling Membership.GetUser()?

    From time to time in my pages I need to get information about the current user. I'm using Master Pages and in my master page I display the current username so immediately I need to call Membership.GetUser() on every page load to get the current user. Then occasionally, the content pages also need...
    Posted to Security (Forum) by tmpuzer on 06-03-2008, 12:00 AM
    Filed under: users, Cache, GetUser, membership, performance
  • membership.getuser() retuerns null inside HttpModule

    In my c# project , I have a class that is implemented from iHttpModule In begin_request event, I need to check user status. I mean I need to check wheather a user is logined or not. However a user is onlined, Membership.GetUser() returns null value. Also User.Identity.Name returns null too. This is seriuos...
    Posted to HttpHandlers and HttpModules (Forum) by Mehrdad201 on 10-26-2009, 12:00 AM
    Filed under: HttpModule, IHttpModule, getuser, membership
  • Re: Profile Properties in a web service

    Try somethign liek this: [WebMethod] public UserProfile GetProfile(string user) { if (Membership.GetUser(user) != null) { ProfileBase p = ProfileBase.Create(user, true); return (UserProfile)p.GetPropertyValue("User.UserProfile"); } return null; }
    Posted to Web Parts and Personalization (Forum) by BCdotNET on 11-07-2006, 12:00 AM
    Filed under: ProfileBase, UserProfile, GetPropertyValue, GetUser, Membership
Page 1 of 1 (4 items)