An HTTP cookie is a piece of data stored by the user's web browser. Unless otherwise specified, cookies can be created, read, modified and deleted and modified both by JavaScript and from server-side scripts by reading the headers.

learn more… | top users | synonyms

1
vote
1answer
18 views

How does a metered paywall track its users?

A metered paywall is most seen on online newspapers. It allows users to view a specific number of articles before requiring paid subscription. In contrast to sites allowing access to select content ...
1
vote
2answers
29 views

Reasonable lifetime for a page view cookie

I have a simple page view counter on my website, that just counts the number of page views pr post. I am curious to what is a reasonable lifetime for the page view cookie. I currently have it set to ...
1
vote
1answer
38 views

Google Analytics for cookie-based A/B testing (same URL for A and B)

I have a website with share-friendly URLs like example.com/register I implemented A/B testing as a cookie because I don't want ugly unsharable URLs like example.com/registerA and ...
2
votes
2answers
59 views

Is it possible to track URL parameter and then value of cookie?

I have recently launched a site for a customer which we would like to track initial visits on URL's like so via Google Analytics and then track their revists on their respective referral code: User ...
2
votes
1answer
74 views

SEO - Does Google properly handle hreflang tags with links that just change the language settings in a session cookie?

I am currently working on a website that is available in multiple languages. I put some effort in atomatically detecting the users preferred language. This itself is working great. I also offer ...
0
votes
1answer
26 views

Is it SEO-acceptable to do an automatic redirect based on accpept-language header value

We are launching a big international web site, that has local web sites on other domains. We are planning to configure the web site to behave in the following manner: Of a user with German (de) ...
2
votes
1answer
31 views

Transferring cookies between two sites (one is HTTPS)

A user comes (through a link) from a http:// site to an other (having different domain) https:// site. We need to track that these two requests are done by the same user. But cookies do not pass over ...
1
vote
1answer
39 views

How to pass information across domains to ask for newsletter only once?

Lets assume following scenario, I have two sites: example1.com example2.com When user visits 1 there is a prompt "please signup to a newsletter". Same thing happens when user visits 2. However ...
0
votes
1answer
57 views

.htaccess - redirect if visitor is logged into google

I need a .htaccess redirect rule that redirects visitors to a url only if the visitor is logged into google. I was thinking of doing it by looking into cookies RewriteEngine On RewriteCond ...
0
votes
0answers
5 views

User identification via analytics solutions, any gotchas?

Currently we are using Google Analytics and provide a simple template generated privacy policy, i.e. standard policy on cookies, anonymous tracking etc Some more advanced solutions such as mixpanel ...
6
votes
1answer
290 views

What happens if I try to set a cookie on a bot?

I'm building my site to include some user-identifying cookies. When a visitor chimes in, I will set a cookie with a unique visitor id (a guid) and the date-time of the visit, and save a visit record ...
0
votes
0answers
140 views

Google Tag Manager Uses iframe, is this problematic for IE?

Internet Explorer has a non-standard P3P privacy policy implementation (what a surprise). This prevents cookies from being loaded in iframes. Google Tag Manager uses an iframe. Does this cause ...
3
votes
1answer
623 views

Disable __cfduid cookie from Cloudflare

Is there a Cloudflare setting that corresponds to the creation of the __cfduid session cookie? I'm currently trying out CF; mostly for the neat DNS management and the implicit CDN. But the basic WAF ...
10
votes
1answer
460 views

Do many users turn off cookies?

Just how generally prevalent is it that users have cookies disabled in their browsers? I want to set a cookie during a user's session so that all the pages know that the presence of a particular ...
1
vote
1answer
60 views

Returning visitor stats reliably over longer periods of time in Google Analytics

I'm looking into how useful returning visitors stats in Google Analytics are over longer periods of time, such as two or three years. It seems that the __utma cookie is set to expire 2 years from ...
2
votes
2answers
133 views

Can a website require search engine robots to support cookies?

Sometimes I pretend to be a search engine robot to get access to "subscriber only" web pages, or just to get a plain and simple view of a page that isn't cluttered with moving animations and other ...
3
votes
1answer
966 views

Using .htaccess to set a cookie and 301 redirect

I currently have in my .htaccess: RewriteRule ^$ http://chfmaine.com/ [CO=moved:yes:chfmaine.com:1/,R=301,NE,NC,L] I was basing this off of this post. That's a lot more than I need but the setting ...
2
votes
2answers
311 views

Setting cookies only on the naked domain

As far as I know, one can set a cookie for example.com and not .example.com and then the cookie will only be visible on example.com and not sub.example.com. Is this true? I have set a cookie on a test ...
1
vote
1answer
77 views

Can AdSense crawler view pages that require cookies?

Details I require users to agree to terms and conditions before they can view several pages on my site. Once they have agreed a cookie is set and they can proceed to the webpage. If a user somehow ...
1
vote
3answers
680 views

What are the problems of httponly and secure cookies?

We would like to set: all our cookies (session id, etc.) as "httponly" all security (session token, "remember me", etc.) cookies as "secure" Except compatiblity issues, what are the know problems ...
2
votes
2answers
140 views

How to display Cookie Notification text to users that is ignored by Search Engines?

Websites within the EU are meant to inform users about the use of cookies on their website. Whilst the law raises plenty of implementation questions already, the general consensus is that we must at ...
1
vote
1answer
38 views

Cookie being assigned on website

I am updating our privacy policy and was checking what cookies were being assigned to visitors from our website. I found one that I am unaware of. It is a Drupal 6 site and there is no module being ...
0
votes
1answer
59 views

Workaround for Chrome not handling backward date change in Windows

I'm heavily making use of cookies for a website. Their expiry period is set to 1 day. My preferred test browser is Chrome 28, Windows 7. For a test, I need to change the date of my OS back to eg the ...
2
votes
1answer
105 views

How to handle pages that requires the use of session cookie?

I have a search page that uses session to track search criteria made by the user. A session cookie is created automatically when the page is launched. As bots do not use cookie, 1000s of sessions ...
1
vote
0answers
209 views

How can I set a secure flag on cookies generated from a Python application?

I have an application written in Python running behind Apache and SSL. I am not seeing a secure flag on my cookie: apache Server version: Apache/2.2.15 (Unix) I have added a configuration line to my ...
1
vote
1answer
75 views

How can you set cookieless subdomain with Quantcast

I have correctly setup Google Analtycis so GA is not setting cookies for my subdomain. I mean for my static subdomain. But Quantcast is setting. What i wonder is can i prevent Quantcast to set cookie ...
0
votes
1answer
909 views

Apache server not able to read cookies from Browser

I have developed a login authentication page using cookies (with spring security) where for the first time, the user will need to get itself authenticated. Once the user gets successfully ...
4
votes
1answer
450 views

Age verification in website questions

I am working on a website for a client that is requesting a way to verify your age. I have debated on creating a cookie that stores your age but I am unsure on a few things. How does SEO play into ...
4
votes
1answer
406 views

Google Analytics cookie across SagePay checkout

We use SagePay's Server integration for our online payments. We use Google Analytics to track activity on our website and Google Ecommerce tracking to log transactions. In Google Analytics, under the ...
2
votes
4answers
1k views

SEO - Redirect on first page (site.com -> site.com/en)

I have website with multiple languages and at first entrance it checks for cookie and if no cookie is present then it defaults to English language and redirects to site.com/en. So basically every ...
1
vote
1answer
73 views

Empty Cookie based on IP address

Is there a way to empty a previous cookie based on source ip? I need this to be done because of loadbalancing issues. regards Geert
7
votes
1answer
135 views

Does the SPDY protocol eliminate the need for cookieless domains?

With plain HTTP, cookieless domains are an optimization to avoid unnecessarily sending cookie headers for page resources. However, the SPDY protocol compresses HTTP headers and in some cases ...
2
votes
1answer
2k views

Do iframes have access to the cookies of the hosting domain?

We want to build an ad-frame which will run on external sites (e.g. YYY.com). The external site will place an iframe to our site (ZZZ.com/ourAdContent.html) and we will show some ads in this frame. ...
0
votes
1answer
216 views

How to Track Visitors Comming from Adwords and Disable form fields that is not on landing page

There is a lead form on my website where we track from which source visitors have arrived. I wanted to disable the drop down and auto populate it with predefined data if the visitor is from adwords. ...
3
votes
1answer
2k views

What is the BCSI-CS-**** cookie for?

I'm undertaking an audit of the cookies we use on our external sites. There's one cookie that's used by all the sites, and by different domains within the sites. It starts BCSI-CS- and has random ...
2
votes
1answer
4k views

mod_rewrite to edit cookies conditionally

Is it possible to use mod_rewrite to modify values in cookies based upon a condition? I am completely new to HTTP, but I have tried a thing or two. The only regex I know is Perl-style, I hope it is ...
3
votes
1answer
131 views

How to offer a cookie opt in/out to users? [duplicate]

Possible Duplicate: Google Analytics and the EU cookie directive. Who will fall foul of the law? Google or the developer? I intend to use google analyticts, and as I understand it I will ...
3
votes
2answers
323 views

Remember me or not?

I was told to post this on webmasters instead of stackoverflow. Is it safe to have the remember me feature? Would it be somewhat safe (knowing it won't be 100% safe) to allow users to close their ...
1
vote
0answers
45 views

Cookies Audit help [closed]

Someone can explain to me what is the purpose of these cookies? I'm doing a cookies audit and I didn't find anything on the web Domain: google.com(google maps), Name: NID Domain: google.com(google ...
0
votes
0answers
76 views

EU Cookie Law Clarification [duplicate]

Possible Duplicate: Google Analytics and the EU cookie directive. Who will fall foul of the law? Google or the developer? Does the EU cookie law apply to an EU site that is hosted outside of ...
0
votes
0answers
50 views

EU Cookiee Law - Should I be worried? [duplicate]

Possible Duplicate: Google Analytics and the EU cookie directive. Who will fall foul of the law? Google or the developer? Given that the year-long "grace period" is up in a day or two, I'm ...
1
vote
1answer
118 views

Making one exclude cookie for multiple google analytics sites

I've got multiple sites all with different google analytics profiles in them (managed under one account). I would like to exclude everyones traffic in the office from all the sites. To do this when ...
10
votes
5answers
2k views

Does the EU cookie law apply to an EU site that is hosted outside of the EU?

I have been reading up about this EU cookie law, and have also had in depth conversations with my girlfriend who is a solicitor/lawyer and with colleagues while building websites. While we are now ...
2
votes
2answers
229 views

Cookie manager PHP

I own a Joomla commerce store and although I use Google Analytics in order to track visitors, I need to install a cookie manager in order to be able to track cookies that were installed on customer ...
2
votes
2answers
146 views

Cookie Audit help needed [closed]

Can anyone recommend any decent cookie audit plugins for firefox or chrome I can see the typical google cookies on the site but I am struggling to find out what a couple of the other cookies actually ...
4
votes
2answers
604 views

Google Analytics setting cookies on static content despite being on entirely separate domain

I recently decided to comply with the YSlow recommendation that static content is hosted on a cookieless domain. As I already use the root of my domain (donaldjenkins.com) to host my website—on which ...
0
votes
1answer
698 views

What are these cookies for: __switchTo5x, __unam, __qca?

I tested on my local Mac's (OS X 10.6.8) Apache. Just now, I did a print_r($_SERVER) from a PHP script, and it shows these three cookies. What is that all about? I didn't set them. Is this something ...
2
votes
1answer
86 views

Redirecting to a default (or last visited) subdirectory. Does Google like this?

i have a site that has 3 web applications, lets use this example: example.com/nicy example.com/mash example.com/zoken The main application is nicy, so if the user comes for the first time (or if ...
4
votes
3answers
2k views

Session cookie being dropped when moving under the SSL

The short version: I've got a session cookie being set on a dev site but it's not being picked up when I move to the SSL (so the shopping cart empties when you go to the checkout). When it's set on ...
0
votes
1answer
586 views

Verify 2 cookies with mod_rewrite before serving images

I have the following mod_rewrite rule, which works fine in my Apache 2.x on CentOS 6 Linux machine, but is not complete: RewriteCond %{HTTP_COOKIE} !id RewriteCond %{REQUEST_URI} ...