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
17 votes
7 answers
3k 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 ...
mickburkejnr's user avatar
  • 1,312
2 votes
2 answers
285 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 ...
HaCos's user avatar
  • 119
3 votes
2 answers
205 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 ...
nextyear's user avatar
4 votes
2 answers
1k 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 ...
Donald Jenkins's user avatar
0 votes
1 answer
1k 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 ...
Bobbi Bennett's user avatar
3 votes
1 answer
95 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 ...
Andres SK's user avatar
  • 281
4 votes
3 answers
4k 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 ...
CD001's user avatar
  • 171
1 vote
2 answers
2k 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 it is not complete: RewriteCond %{HTTP_COOKIE} !id RewriteCond %{REQUEST_URI} ^/sites/default/...
Alexander Farber's user avatar
2 votes
1 answer
413 views

Does adding LinkedIn button to a website result in cookies that track users?

We are planning to add the LinkedIn button in our website. But the restriction we are having is, the website should not use the cookies which collect the personal information. No impersonation. But I ...
Vani's user avatar
  • 123
2 votes
4 answers
643 views

Can someone explain how FaceBook's cookie tracks you while logged out?

This article claims that Facebook tracks what you do, even when you're logged off of Facebook, via cookies. Now, a cookie is just a text file... that is read/written to while you're actually on that ...
Chad's user avatar
  • 185
2 votes
2 answers
77 views

How does this stackexchange form saved the work, I mean keep an auto save function, to retrieve loss of work

How does this stackexchange form saved the work, I mean keep an auto save function, to retrieve loss of work, in case the user's browser crashes.
user465641's user avatar
2 votes
1 answer
5k 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 ...
Loftx's user avatar
  • 461
1 vote
1 answer
180 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 ...
Abel's user avatar
  • 11
17 votes
5 answers
3k views

Google Analytics and the EU cookie directive. Who will fall foul of the law? Google or the developer?

So Google uses cookies when performing its usual duties of tracking users on a website. That is just it though; Google are setting the cookies and not your website as such. This is by virtue of the ...
Treffynnon's user avatar
7 votes
3 answers
597 views

Why is the EU cookie directive causing so much excitement?

I am confused by all the excitement surrounding the EU cookie directive; why is it such a painful thing? As far as I can see cookies that are required for your site to function are allowed such as ...
Treffynnon's user avatar
0 votes
1 answer
742 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 ...
Jeroen's user avatar
  • 1
31 votes
6 answers
4k views

Standard ratio of cookies to "visitors"?

As noted in a recent blog post, We see a large discrepancy between Google Analytics "visitors" and Quantcast "visitors". Also, for reasons we have never figured out, Google Analytics just gets ...
Jeff Atwood's user avatar
  • 13.9k
1 vote
2 answers
539 views

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

When you come to my client's site, it needs to verify that you are 21 years of age of older. If you hit any page on the domain, it checks to see if the verified age cookie is set. If not, it takes ...
Brandon's user avatar
  • 13
5 votes
1 answer
2k views

SEO for images: can I use a different (cookieless) domain?

We want to increase the value of some of our important images by means of SEO, and we want to start serving them from a different, i.e. cookieless, domain. We want to go from www.example.com/images/...
Oliver's user avatar
  • 338
1 vote
2 answers
288 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 ...
FFish's user avatar
  • 155
2 votes
3 answers
603 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 ...
Mala's user avatar
  • 289
2 votes
2 answers
149 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" ...
Edward83's user avatar
  • 161
1 vote
1 answer
1k 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 ...
The Archetypal Paul's user avatar
11 votes
4 answers
6k views

How can I tell Google Analytics to not use cookies for my sub domain?

I have my web site at example.com, and i have also setup a sub domain for serving static content at static.example.com. On my web pages I'm using Google Analytics, so it will attach its cookies to all ...
Magnus's user avatar
  • 295
3 votes
5 answers
387 views

Variable IPs: How variable are they? Best practices for tracking

There are a lot of questions on StackOverflow relating to session security / session hijacking, but there doesn't seem to be a really good solution to the problem. The three most common suggestions ...
AgentConundrum's user avatar
6 votes
1 answer
888 views

Forced GZIP Detection on Google App Engine

Some clients are appearing on our Google App Engine instances without the Accept-Encoding header. We normally use the set a cookie with an appended iframe technique (or variation thereof) to detect ...
Metalshark's user avatar
  • 3,683
24 votes
3 answers
21k views

How do I set up a cookie-less domain?

I've read that it's best to serve static content (css, javascript, etc.) from a cookie-less domain or subdomain for better performance. I assume a domain is not cookie-less by default. How do I ...
BenV's user avatar
  • 1,015
6 votes
3 answers
2k views

Multiple google analytics instances on a page?

My company creates (and hosts) sites for many different clients. We allow clients to send us tracking code, including Google Analytics, and we put them on the page. We would also like to include our ...
Doug Harris's user avatar
10 votes
2 answers
746 views

How many domains to split components across?

I understand how splitting components across domains can maximize parallel downloads, and enable you to have cookie-free static content domains, but since there's a time cost for each domain lookup ...
theotherreceive's user avatar
8 votes
2 answers
5k views

How to use cookies in a secure manner to authenticate users?

In most cases I like using cookies to remember returning users to my websites. In my early/foolish days, I would store a UserID (auto-increment integer) in a cookie and if the user returned I would ...
jessegavin's user avatar
  • 2,158

1 2 3
4