Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreIs there a guide on what cookie information is being stored in the Cart?Is there a guide on what cookie information is being stored in the Cart?
Previous
 
Next
New Post
7/16/2012 9:34 AM
 

Hello all,

For the purpose of abiding by new international privacy laws, I have been tasked with providing information on what cookie information is being stored (if any)

I.E.(This is from the audit guide I received)

  • CookieID              ID of the cookie as it appears in the browser cache
  • Cookie Name     Label of cookie(something that makes sense for reading)
  • 1st/2nd/3rdparty            Type ofcookie
  • Expiration Date How long the cookie lasts after it’s set /reset
  • Source Domain Domain the cookie is associated with
  • Site Coverage    Areas of your website thatmake use of the cookie
  • Description         Explanation of what the cookie does


Any help would be greatly appreciated.

Thanks,


 
New Post
7/17/2012 10:33 AM
Accepted Answer 

Hi,

The Store module create a cookie when the visitor add a product to his cart. The cookie contains only two values: the CartGuid (to identify the visitor cart) and the OrderID (when the checkout process begin). Both values are stored in clear text, but if you want to enhance your security you can check the setting 'Secure Cookie' under Store Admin. In this case, both values will be encrypted using the algorithm defined in your web.config, by default DotNetNuke use 3DES. Algorithm use the ValidationKey for the key and the DecryptionKey for the IV, because those values are created at install and are always different for two DNN instances, it's almost impossible to guess how to decrypt the cookie values. You can have a look at the class SymmetricHelper.cs in the source code for details. The cookie name look like: DotNetNuke_Store_Portal_n, where 'n' is the current PortalId. Finaly, the cookie expire when you close your browser or when the session expire.

Typical Unencrypted Cookie:

Name: DotNetNuke_Store_Portal_0
Value: CartID=b4c409c8-2ea0-4ffe-ad7f-00c107e88fd2&OrderID=3114

The same with encryption enabled:

Name: DotNetNuke_Store_Portal_0
Value: CartID=WGBfXn+hyQpkdjvEVnHExq6K8d8AsarB7SVaC0ObkiA0A1yIeNv+nMaayImVcmkd3DPmEXYrmYV8jGxWWMQ/9PAkTu/BaBZZ3UoI5coOLnA=&OrderID=2vA855Gy6U1iAzeG6FvWlQ==

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreIs there a guide on what cookie information is being stored in the Cart?Is there a guide on what cookie information is being stored in the Cart?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out