Top "Cookies" questions

An HTTP cookie is a piece of data stored by the user's web browser.

I need to get all the cookies from the browser

I need to get all the cookies stored in my browser using JavaScript. How can it be done?

javascript cookies
Cookies vs. sessions

I started using PHP a couple of months ago. For the sake of creating a login system for my website, …

php session cookies
Javascript Cookie with no expiration date

I would like to set up a cookie that never expires. Would that even be possible? document.cookie = "name=value; …

javascript cookies
how to get the cookies from a php curl into a variable

So some guy at some other company thought it would be awesome if instead of using soap or xml-rpc or …

php cookies curl
How do you configure HttpOnly cookies in tomcat / java webapps?

After reading Jeff's blog post on Protecting Your Cookies: HttpOnly. I'd like to implement HttpOnly cookies in my web application. …

java security cookies xss httponly
Chrome doesn't delete session cookies

I'm trying to set session cookie in javascript like this: document.cookie = 'name=alex; path=/' But Chrome doesn't delete …

javascript session google-chrome cookies
How to use Python to login to a webpage and retrieve cookies for later usage?

I want to download and parse webpage using python, but to access it I need a couple of cookies set. …

python http authentication cookies
Check if a PHP cookie exists and if not set its value

I am working on a multilingual site so I tried this approach: echo $_COOKIE["lg"]; if (!isset($_COOKIE["lg"])) setcookie("…

php cookies setcookie
How to get the cookie value in asp.net website

I am creating a cookie and storing the value of username after succesfull login. How can I access the cookie …

c# asp.net cookies forms-authentication
What are allowed characters in cookies?

What are the allowed characters in both cookie name and value? Are they same as URL or some common subset? …

cookies