S
shapper
Hello,
I am trying to get an anonymous user using the following:
MembershipUser user = System.Web.Security.Membership.GetUser();
However, user is null. On my Web.Config I have the following:
<anonymousIdentification
cookieless="UseCookies"
cookieName=".AnonymousIdentification"
cookiePath="/"
cookieProtection="Validation"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieTimeout="100000"
enabled="true"/>
I cleaned all my browser cookies and ran the web site but I always get
user = null.
What am I doing wrong?
Thanks,
Miguel
I am trying to get an anonymous user using the following:
MembershipUser user = System.Web.Security.Membership.GetUser();
However, user is null. On my Web.Config I have the following:
<anonymousIdentification
cookieless="UseCookies"
cookieName=".AnonymousIdentification"
cookiePath="/"
cookieProtection="Validation"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieTimeout="100000"
enabled="true"/>
I cleaned all my browser cookies and ran the web site but I always get
user = null.
What am I doing wrong?
Thanks,
Miguel