Copied to clipboard

Flag this post as spam?

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


  • snitram 27 posts 48 karma points
    Nov 22, 2010 @ 22:14
    snitram
    0

    HttpContext.Current.Profile in /base

    Hi,

    I'm trying to access the current users profile in my /base application. However, HttpContext.Current.Profile seems to always be null, when referenced through /base.

    HttpContext.Current.User is not null when accessed through /base, so I'm kind'a lost here - can anybody help? One of the URL's I'm testing: /base/images/delete/31.aspx

    Running 4.5.2 on MySql and IIS7.

  • snitram 27 posts 48 karma points
    Nov 24, 2010 @ 18:26
    snitram
    0

    Anyone? :-) Has anyone succesfully used HttpContext.Current.Profile in a /base application?

  • snitram 27 posts 48 karma points
    Nov 25, 2010 @ 08:30
    snitram
    0

    I found out, that I can access Member.GetCurrentMember().Id just fine in /base - just wondering why Context.Profile is unavailable. I'm going with Member.GetCurrentMember().Id so far.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies