c# - Azure Cloud Service Losing Session if URL doesn't contain WWW -
my azure cloud service app has users logged in session data. if click on link internally doesn't have preceding www, session data not applied. if go , click on link have preceding www, session data works expected. know how resolve this?
tia
sounds session cookies not tuned wildcard of domain. can problem? check forms section of web.config if contains domain attribute , if doesn't, set it.
<authentication mode="forms"> <forms loginurl="/account/logon" timeout="43200" domain="yourdomain.com"/> </authentication>
Comments
Post a Comment