Reputation: 2716
What happens if secureflag
is set to true
in case of http requests? Should it be set to true only if requests are being coming from https clients? This blog here says so.
If someone here can please explain what are the disadvantages of setting this flag to true, that will be great help.
Upvotes: 1
Views: 109
Reputation: 2724
By setting 'secureflag' is true , you are insisting the browser to transmit your cookies only over the SSL. In case, if it is non SSL, then the Cookies will not be shared. For better understanding read this doc.
Upvotes: 2