Click here to Skip to main content
15,942,671 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
We have a Application which uses single sign on (SSO) for authentication
and need to Secure the Cookies ( Asp.net Session id and SSO Cookies).

I have enabled tag by adding <httpcookies requiressl="true"> in Web Config

When I run the application for the first time Both Cookies are Set as Secure and HTTP only.

But when I refresh the home page or click any subsequent pages SSO Cookies Secure flag is Missing.

Note : My Application uses HTTP and SSO uses HTTPS.

Please advise on this.

What I have tried:

I have cleared cookies and Rechecked again.
First time its working not after.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900