Sompal Arya

Sompal Arya

  • NA
  • 286
  • 50.3k

[Security ]Secure flag for session related cookies in c#

Jun 5 2015 1:07 AM
 First i want that ASP.NET_SessionId  whose securtiy  is set to be true.
 
 Then i achieved by following statement which is given below: 
 <httpCookies  requireSSL="true">
After setting in web  Config secure flag became true .
 
But all session value is null when redirect  to another page.
 
I want my session would not null as well as secure flag is  true.
 
 
Thanks in Adavance.