Does dotnet synchorize accesses to MemberShip.UpdateUser?

Discussion in 'ASP .Net Security' started by Dominick Baier, Oct 11, 2006.

  1. Have a look at System.Transactions.

    ---
    Dominick Baier, DevelopMentor
    http://www.leastprivilege.com

    > hi,
    > As title, i don't know whether dotnet synchorizes accesses to function
    > MemberShip.UpdateUser especially when update the same user at the same
    > time.
    > Or, we need to implement synchorization ourselves?
    > And, if i want to code in sequence like:
    > ...
    > MemberShip.UpdateUser();
    > Role.AddUserToRole();
    > ...
    > how can i guarantee these two functions to be excuted as a atom?
    >
    > Thank in advance.
    > -Joe Ca
     
    Dominick Baier, Oct 11, 2006
    #1
    1. Advertising

  2. Dominick Baier

    CAIBird Guest

    hi,
    As title, i don't know whether dotnet synchorizes accesses to function
    MemberShip.UpdateUser especially when update the same user at the same time.
    Or, we need to implement synchorization ourselves?
    And, if i want to code in sequence like:

    ...
    MemberShip.UpdateUser();
    Role.AddUserToRole();
    ...

    how can i guarantee these two functions to be excuted as a atom?


    Thank in advance.
    -Joe Cai
     
    CAIBird, Oct 11, 2006
    #2
    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. Charles A. Lackman
    Replies:
    1
    Views:
    1,376
    smith
    Dec 8, 2004
  2. Gary
    Replies:
    0
    Views:
    829
  3. SpamProof
    Replies:
    0
    Views:
    584
    SpamProof
    Oct 21, 2003
  4. Chuck
    Replies:
    3
    Views:
    513
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Feb 8, 2007
  5. Alfred Sehmueller
    Replies:
    0
    Views:
    268
    Alfred Sehmueller
    Feb 20, 2004
Loading...

Share This Page