Questions tagged [cookie]

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
52 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 ...
Michal's user avatar
  • 320
0 votes
1 answer
326 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 ...
Mamba's user avatar
  • 101
2 votes
1 answer
165 views

How not to use Google Analytics cookies on Blogger?

I just noticed of a blog powered by Blogger which doesn't store any cookie, and therefore, doesn't need to show the annoying cookie popup. Checking Blogger options, I don't see anywhere where to get ...
secef's user avatar
  • 21
4 votes
2 answers
8k views

What is the percentage of users that block cookies in their web browser?

What is the percentage of web users that use either cookie blocking software for their web browsers or software that blocks Google Analytics tracking?
george's user avatar
  • 203
1 vote
1 answer
822 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=...
Chris Donaldson's user avatar
1 vote
1 answer
4k 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 ...
Michal's user avatar
  • 320
2 votes
1 answer
4k 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 ...
lkraav's user avatar
  • 123
2 votes
1 answer
66 views

Can I show a user an ad based on third-party cookies on their web browser?

Let's say I have a site that sells something. A user has no idea that my site exists, but they visit a competitor website which adds a cookie to their browser. Can I display advertising for my site ...
Daniel's user avatar
  • 163
1 vote
1 answer
58 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?
user48956's user avatar
  • 123
5 votes
1 answer
2k views

Website visitors with same PHP session ID, same cookies, but different IPs and user agents, all within one second. What are they and how to stop them?

We've noticed an unusual and growing pattern in visits to our website. When a user visits, we set a PHP session ID, set cookies, and record the user agent and ip. What we've seen happening a lot ...
LeeWenzu's user avatar
2 votes
1 answer
1k 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 ...
tysonsmiths's user avatar
1 vote
2 answers
126 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 ...
Thomas Jensen's user avatar
1 vote
1 answer
2k 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/...
Nicolas Raoul's user avatar
4 votes
2 answers
3k views

Is it possible to track URL parameters and then the value of a cookie?

I have recently launched a site for a customer which we would like to track initial visits on URLs like below via Google Analytics, and then track revisits on their respective referral code: Users ...
Jon's user avatar
  • 41
3 votes
1 answer
466 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 ...
BrainStone's user avatar
0 votes
1 answer
929 views

Is it SEO-acceptable to do an automatic redirect based on Accept-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) ...
Maxim V. Pavlov's user avatar
2 votes
1 answer
1k views

Transferring cookies between two sites (one is HTTPS)

A user comes (through a link) from a http:// site to another (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 ...
porton's user avatar
  • 383
1 vote
1 answer
164 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 when ...
Mars Robertson's user avatar
0 votes
1 answer
234 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 %{...
Marek Andreansky's user avatar
8 votes
1 answer
10k 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 (...
Cyberherbalist's user avatar
3 votes
2 answers
1k 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 ...
adam-asdf's user avatar
  • 2,077
18 votes
3 answers
16k 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 ...
mario's user avatar
  • 291
14 votes
1 answer
3k 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 ...
Cyberherbalist's user avatar
1 vote
1 answer
90 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/...
jawilson's user avatar
  • 113
2 votes
2 answers
514 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 ...
Tyler Durden's user avatar
4 votes
1 answer
5k 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 ...
user avatar
3 votes
2 answers
6k 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 ...
ustun's user avatar
  • 173
1 vote
1 answer
148 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 ...
TryHarder's user avatar
  • 360
1 vote
3 answers
7k 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 to ...
Toto's user avatar
  • 345
4 votes
2 answers
3k 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 ...
Andrew Lott's user avatar
  • 5,874
1 vote
1 answer
44 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 ...
tiki16's user avatar
  • 73
0 votes
1 answer
105 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 ...
SCO's user avatar
  • 101
3 votes
1 answer
200 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 ...
Question Overflow's user avatar
0 votes
1 answer
132 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 ...
sam's user avatar
  • 4,765
2 votes
0 answers
782 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 ...
Vipin's user avatar
  • 21
1 vote
1 answer
171 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 ...
Furkan Gözükara's user avatar
3 votes
1 answer
9k 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 ...
Bhuvan's user avatar
  • 143
4 votes
1 answer
2k views

Age verification in website

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 ...
DᴀʀᴛʜVᴀᴅᴇʀ's user avatar
5 votes
1 answer
2k 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 ...
AlexCambridgeUK's user avatar
4 votes
4 answers
4k views

SEO - Redirect on first page (example.com -> example.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 example.com/en. So basically every ...
sed's user avatar
  • 301
1 vote
1 answer
106 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
Geert Torsin's user avatar
8 votes
1 answer
197 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 ...
Clint Pachl's user avatar
12 votes
1 answer
55k 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. ...
Skurpi's user avatar
  • 297
0 votes
1 answer
393 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. ...
som shekhar's user avatar
6 votes
2 answers
7k 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 ...
Joanne Mullally-Watts's user avatar
4 votes
1 answer
16k 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 ...
PinkElephantsOnParade's user avatar
4 votes
1 answer
203 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 Analytics, and as I understand it I will need to ...
Digital Lightcraft's user avatar
3 votes
2 answers
538 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 ...
taeja87's user avatar
  • 133
2 votes
0 answers
68 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 ...
Gino's user avatar
  • 21
1 vote
1 answer
167 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 ...
sam's user avatar
  • 4,765