Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonas 10 posts 30 karma points
    Mar 19, 2010 @ 16:55
    Jonas
    0

    Loggin on a member

    I am using Umbraco 4.01 and have run into some problems. When I use the Member.AddMemberToCache (which is the only method I can find with authenticates a user), the user is logged on until he/she explicitly logs out.

    IMO, this seems like a very strange design decision! By using reflector, I can see that the members are added to the cache which really is a puzzle to me... Is there any way to tie the authentication to the user's session instead?

  • Jonas 10 posts 30 karma points
    Mar 19, 2010 @ 16:59
    Jonas
    0

    Okay, right after I wrote the post I found this: 

    Member.AddMemberToCache(member, true, new TimeSpan(0,0,10,0));

    It seems like it does the job :)

Please Sign in or register to post replies

Write your reply to:

Draft