0

My application is using Dotnet frame work 4.0. I have received a security vulnerabilty point to set Cookie path to Secure. So after changing requiredSSL property from false to true in web.config,Cookie path set to Secure but Session values becoming null automatically. I had no clue on this how to over come on this. Please guide me. I am having both simple aspx pages and Master page referenced aspx pages.

Web.config Code:

<httpCookies requireSSL="false" httpOnlyCookies="true" domain="" />
<sessionState mode="InProc" cookieless="false" timeout="20"></sessionState>

My application start up Url where project is virtual directory name:

https://site.mysite.com/Project

My application has different directories and url seems like :

https://site.mysite.com/Project/Default.aspx
https://site.mysite.com/Project/Dir1/Customers.aspx
https://site.mysite.com/Project/Dir2/Agents.aspx
user1463065
  • 563
  • 2
  • 11
  • 30

0 Answers0