Membership.GetUser() returns null

Discussion in 'ASP .Net Security' started by TangyZizzle, Jan 5, 2006.

  1. TangyZizzle

    TangyZizzle Guest

    Membership.GetUser() returns null for anonymous users after migrating from
    Beta 2 to ASP.NET 2.0. Does anyone have an idea why this happens??

    order.UserID = Membership.GetUser().ProviderUserKey;
    throws a NullReferenceException

    I have set anonymousIdentification enabled/true.

    Would greatly appreciate any hints as I've spent days and days to solve this
    problem.
     
    TangyZizzle, Jan 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SmF2?=
    Replies:
    2
    Views:
    2,133
  2. sanju
    Replies:
    0
    Views:
    483
    sanju
    Aug 28, 2007
  3. Replies:
    2
    Views:
    767
    sloan
    Oct 15, 2007
  4. Florian Paulus

    MemberShip.GetUser() and login control

    Florian Paulus, Sep 1, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    716
    Florian Paulus
    Sep 3, 2008
  5. Jeff
    Replies:
    0
    Views:
    611
Loading...

Share This Page