I'd look at that page before, but you posting this again made me look at it again. It looks like this could work. However when I look in the global.asax page I see
Which suggests to me that Umbraco is already doing *something* in the global.asax, Im going to have a look at the source now and see if I could may be duplicate it and change the inheritence in this file. Or is there another way to register this within Umbraco?
cookie contour_xxxxxxxxx
A customer is requesting that the cookie which is set is marked as secure as we're serving all the pages from https.
Is there any way of making this possible?
Using Contour 3.0.21 with Umbraco 6.1.6
Hi John!
There's some info on this stack overflow page that might help you: http://stackoverflow.com/questions/5978667/how-to-secure-the-asp-net-sessionid-cookie it'll require a bit of coding, but it should work without needing to have anything changed in Contour (hopefully).
Hi Tim,
I'd look at that page before, but you posting this again made me look at it again. It looks like this could work. However when I look in the global.asax page I see
Which suggests to me that Umbraco is already doing *something* in the global.asax, Im going to have a look at the source now and see if I could may be duplicate it and change the inheritence in this file. Or is there another way to register this within Umbraco?
Yes that worked!
I had to create a new DLL including system.web & umbraco & umbraco.core with this class
which was compiled into a dll project as SecureCookies.dll
and then update the global.asax to
Worked an absolute treat - thank you for making me look at that approach again. Thanks Tim.
Awesome! Glad it helped :)
put the source code here:
https://github.com/johncscott/uSecureCookies
half thinking about making a package
not sure how useful it would be
is working on a reply...