سؤال

I am using asp.net profile system. I created a model in mASP.NET MVC named CustomProfile.In this model i create 3 function CreateProfile(), SaveData(), LoadProfile().

I am calling LoadProfile() from logon action from AcountController but the problem is when i am using HttpContext.Current.Profile in LoadProfile() function it show username null. Whats the problem?

هل كانت مفيدة؟

المحلول

Windows or Forms Authentication needs to be enabled on that Website/Web Application in IIS

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top