S
shapper
Hello,
I have only one property in my profile and I want it to be saved in a
cookie.
However, when I run my web site a database named ASPNETDB.MDF is
generated instead of using a Cookie.
How can I solve this?
I have the following in my Web.Config file:
<!-- Anonymous Identification -->
<anonymousIdentification
enabled = "True"
cookieless = "UseCookies"
cookieName = ".MyWebSiteCookie"
cookiePath = "/"
cookieProtection = "None"
cookieRequireSSL = "False"
cookieSlidingExpiration = "True"
cookieTimeout = "100000" />
...
<!-- Profile -->
<profile>
<!-- Profile Properties -->
<properties>
<add
name = "LanguagePreference"
type = "System.String"
defaultValue = "Auto"
allowAnonymous = "True" />
</properties>
Thanks,
Miguel
I have only one property in my profile and I want it to be saved in a
cookie.
However, when I run my web site a database named ASPNETDB.MDF is
generated instead of using a Cookie.
How can I solve this?
I have the following in my Web.Config file:
<!-- Anonymous Identification -->
<anonymousIdentification
enabled = "True"
cookieless = "UseCookies"
cookieName = ".MyWebSiteCookie"
cookiePath = "/"
cookieProtection = "None"
cookieRequireSSL = "False"
cookieSlidingExpiration = "True"
cookieTimeout = "100000" />
...
<!-- Profile -->
<profile>
<!-- Profile Properties -->
<properties>
<add
name = "LanguagePreference"
type = "System.String"
defaultValue = "Auto"
allowAnonymous = "True" />
</properties>
Thanks,
Miguel