Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 08, 2012 03:22 AM by xfinrodx
Aug 14, 2006 06:05 PM|LINK
Aug 14, 2006 08:06 PM|LINK
Aug 15, 2006 01:04 AM|LINK
Yes, You can do that.
I wanna know where does your problem lies in.
The IsAnonymous property works fine for me.
When the user isn't signed in, it's TRUE;
When the user has signed in, it's FALSE;
Make sure you have logged in and your config is correct !
Aug 15, 2006 07:57 AM|LINK
Sep 09, 2010 07:36 PM|LINK
It appears that if you don't have any profile properties defined in the web.config file, your profile will always be anonymous. Either use IsAuthenticated as Peter suggested or define at least one profile property in your web.config.
Jul 08, 2012 03:22 AM|LINK
Skrrrg, thank you very much for sharing that little tidbit. I do not know why it worked, but on a default .Net 4.0 Web Page solution, it fixed the IsAnonymous property. So strange...
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>