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
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.
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.
Anyone? :-) Has anyone succesfully used HttpContext.Current.Profile in a /base application?
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.
is working on a reply...