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

2
votes
2answers
122 views

Google AdSense reloading?

Please tell me something about Google AdSense: 1) Can i reload ads by myself without full-page-reloading? For example refresh AdSense frame or call some script? 2) About "interest-based advertising" ...
2
votes
1answer
109 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 ...
2
votes
2answers
445 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 ...
2
votes
1answer
7k 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 ...
2
votes
1answer
3k views

What does the Quantcast __qca cookie do?

I'm reviewing the cookies served up from my website and one of them is a first-party cookie __qca which seems to be set by Quantcast. I'm sure this is just used for tracking, but I can't find this ...
2
votes
0answers
97 views

Cookie consent messages required on websites - how will adsense work?

I ended up watching this video: https://www.youtube.com/watch?v=H5xVSXTn41Y It states that publishers have until September 30th, 2015 to add a visible message indicating about the use of cookies on ...
2
votes
0answers
430 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 ...
2
votes
0answers
62 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 ...
1
vote
2answers
25 views

Why are these Google cookies being downloaded?

After removing cookies in Chrome, visiting my site, and requesting chrome://settings/cookies, I get this (my site is the last entry): But since I have just removed Google Analytics script, I don't ...
1
vote
1answer
24 views

Can I share a cookie with a subdomain?

Suppose I want my site to be accessible at https://www.example.com and https://example.com. Is it possible to set a cookie when visiting one domain so that it is accessible in the other?
1
vote
2answers
51 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
151 views

Cookie data transfer

The context is a third-party analytics service, specifically Quantcast, but the inquiries are more general in nature. Please forgive and correct me if any of my assumptions are off, and thank you in ...
1
vote
1answer
975 views

Enforcing a specific order for cookie headers

We have an application that cares about the order of cookie headers. It shouldn't, since this isn't mandated by the standards and indeed we're getting the headers in various different orders So we ...
1
vote
1answer
31 views

SEO analysis site is showing cookie and token information from within the HTTP header of my site

A SEO Analysis tool is showing cookie and token information publicly after fetching it from my website. Is having this information from whithin my site's HTTP header published publicly safe? If ...
1
vote
1answer
296 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
1answer
38 views

Using cookies on a site to redirect based on location - Googlebot crawling

I've recently began working on a Wordpress site that uses cookies to redirect a user to the appropriate regional page based on their location with geolocation. One thing I've noticed is that this ...
1
vote
3answers
67 views

Getting user language via Google cookies

Just thought, if that would be possible, I can get users native language, and display my webpage on their language, or on the closest one. So; Is it possible to get someone's language using his/her ...
1
vote
1answer
26 views

Is it possible to setup a cookie-less directory instead of a domain?

I'm familiar with how to setup a cookie-less domain, however, I have an situation where I can't setup a subdomain to store static elements. Can I set only my directories where assets are being stored ...
1
vote
1answer
31 views

Most widespread cookies

What are the most widespread cookies among population? One example could be _ga cookie, but are there any others public cookies that almost everyone has in his/her browser? Why am I asking? I want to ...
1
vote
1answer
327 views

UTM-alternative for adding parameters with exiting Analytics campaign terms

I'm using the excellent UTM-alernative by dm-guy here to create a cookie and inject the campaign source into a form. However, although that works extremely well for the form, the UTM replacement /?src=...
1
vote
1answer
1k views

How to read user unique code from _ga cookie?

Currently I am facing the problem that have been discussed already here: How to keep track of a unique and an existing visitor (keep track about unique user without registration etc.). The most ...
1
vote
1answer
220 views

How do you match a specific cookie value with Apache 2.4 <If> statement?

I am not able to figure out why the following doesn't match: <If %{HTTP_COOKIE} == 'XDEBUG_SESSION=leho'"> I'm setting a php_value inside the matching If. I know that part works because this ...
1
vote
1answer
351 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 example.com/...
1
vote
1answer
139 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 ...
1
vote
1answer
73 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 set/...
1
vote
1answer
103 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
2k 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 ...
1
vote
1answer
86 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 ...
1
vote
1answer
88 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
1
vote
1answer
120 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 ...
1
vote
1answer
721 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} ^/sites/...
1
vote
2answers
393 views

Temporary redirect needs to detect the URL of original page request from a search engine then redirect again to that page

I've tried searching this an innumerable amount of times with different word combinations, can't seem to crack it. Apparently I do not know the right terms in this situation. When you come to my ...
1
vote
2answers
265 views

Can search engines change language and read the cookie?

I am building a multi language website in PHP and prepared all my strings in English by default using gettext() My locale/it_IT/LC_MESSAGES/default.mo file is working correctly and now I need to sort ...
1
vote
3answers
251 views

cookie not being sent when requesting JS

I host a webservice, and provide my members with a Javascript bookmarklet, which loads a JS sript from my server. However, clients must be logged in, in order to receive the JS script. This works for ...
1
vote
0answers
17 views

Is it able to disable secure attribute for Cookie on SSL connection?

There are HTTP and HTTPS page on our site on Apache. So We need to convert from HTTPS to HTTP or from HTTP to HTTPS to prevent from login session cookie fired. I already know that it does not make ...
1
vote
0answers
18 views

Google analytics conversion tracking across subdomains

I've got a Drupal site at example.com, which leads to an ecommerce site at ticketing.example.com. Both sites have our GA code installed, and the cookiedomain for both sites is set to 'auto'. Based on ...
1
vote
1answer
17 views

Tracking users that are transferred to another site from ours?

Is it possible to track what a user does on another site after they are redirected there by your site? We run a site that sells education courses. Some of our courses are held by 3rd party companies. ...
1
vote
0answers
11 views

ASP.NET multilingual through cookie/URL - Google sees one version

Our website is multilingual and works through cookies/URL www.amlik.com/ar/ www.amlik.com/en/ The problem we are facing is Google sees only the arabic (default version of our site) even when ...
1
vote
1answer
52 views

A better method to save state between desktop and mobile site

This is something I want to fix for a long time. To begin, on my website I have a cookie named MDD and its set to 1 if the mobile detection has already happened. This is my code: RewriteCond %{...
1
vote
0answers
149 views

google displays wrong language on multi language website because it takes cookies into consideration

I have a multiple language website that uses both subdomains and cookies to display the right language. Here is the logic on the website: de subdomain will display the German version fr subdomain ...
1
vote
1answer
39 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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
483 views

How to use apache mod-rewrite to remove trailing semi-colon on cookie?

We have the following cookie set by a product: Set-Cookie: SSOCookie=T7ngsCmzC2FEq5p2a7o%3D; path=/; domain=.demo.com; We would like to use Apache to remove the trailing ; which doesn't match the ...
0
votes
1answer
20 views

How to find the customer's visit is from the Google Results Page

As we are moving from the classic Google Analytics to the Universal Google Analytics for the marketing requirement, I need to find out from where the customer is coming from. If he is coming from the ...
0
votes
1answer
75 views

Eliminating 'cookie' from 'vary:' without breaking website functionality

I read that some middle-man servers won't cache websites that have cookie set in the vary: header. For example, If my website issues a vary:accept-encoding,cookie as opposed to vary:accept-encoding ...
0
votes
1answer
104 views

What percentage of users use a cookie blocker?

I would like to know whether there is a way to get numbers on those users enabling cookie blocker. As far as I know Google Analytics is tracking you by creating cookies. Is there a way to assess the ...
0
votes
1answer
105 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) ...
0
votes
1answer
116 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
1answer
88 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 ...
0
votes
1answer
109 views

Ad networks that let you run your own cookie targeting

We've got some proprietary cookie targeting software which we are developing to help deliver better targeted ads. We don't have a group of publishers, nor particularly want to go and build our own ...