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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -