Where to put this cookie?

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
CMSmonkey
Power Poster
Power Poster
Posts: 290
Joined: Thu Nov 27, 2008 4:58 pm

Where to put this cookie?

Post by CMSmonkey »

Hi Everyone,
I have to run a quarterly compliance scan on an e-commerce site , and as per the scan results, I need to add the HttpOnly to all cookies.

As per the request:
For each cookie generated by your web-site, add the "HttpOnly" flag to the cookie. For example:

Set-Cookie: <name>=<value>[; <Max-Age>=<age>]
[; expires=<date>][; domain=<domain_name>]
[; path=<some_path>][; secure][; HttpOnly]
Can someone please tell me where to put this?

Thank you.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Where to put this cookie?

Post by Rolf »

if your domain is "http://www.blah... in the call than it is http only isn't it? It won't show up when you are in another subdomain or even in "http://blah...

Rolf
Last edited by Dr.CSS on Sat Oct 06, 2012 4:27 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
CMSmonkey
Power Poster
Power Poster
Posts: 290
Joined: Thu Nov 27, 2008 4:58 pm

Re: Where to put this cookie?

Post by CMSmonkey »

It references both. Here is what it said:
Cookie is not marked as HttpOnly:
'CMSSESSIDea91a2b9=f562221a80bd
d157bf44bf311d9da183; path=/;
domain=mysite.com'
URL: "http://mysite.com/
and
Cookie is not marked as HttpOnly:
'CMSSESSIDea91a2b9=7cacb08c89bf4
1f6216aba4f159afb86; path=/;
domain=www.mysite.com'
URL: "http://www.mysite.com/
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Where to put this cookie?

Post by Rolf »

I think you better Google for this...
Something like http://stackoverflow.com/questions/4999 ... javascript

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “The Lounge”