Linked Questions

4 votes
3 answers
3k views

I'm developing a website on my localhost which uses cookies. I have a function that generates a random, 25 character string which will be stored in a database and set as a referential cookie on the ...
Maurice's user avatar
  • 1,092
-7 votes
2 answers
2k views

Possible Duplicate: Cookies on localhost with explicit domain this is my code after the user has logged in: setcookie("user",$entered_username, time()+(60*60*5)); setcookie("password",$...
user1244153's user avatar
0 votes
1 answer
723 views

I have an application that uses saml authentication and passes the response back via a cookie to the return URL the SP provides. The php code looks like this setcookie('auth', $cred, time() + 30, ...
richbai90's user avatar
  • 5,264
1 vote
2 answers
261 views

I'm trying to set a session and a cookie for when user logs in. When the user visits the login page, a session is set and started, with session_start() which is working quite alright, but when the ...
Samo Adx's user avatar
592 votes
25 answers
463k views

I have a page that allows the user to download a dynamically-generated file. It takes a long time to generate, so I'd like to show a "waiting" indicator. The problem is, I can't figure out ...
JW.'s user avatar
  • 51.9k
391 votes
12 answers
413k views

After logging in via $.ajax() to a site, I am trying to send a second $.ajax() request to that site - but when I check the headers sent using FireBug, there is no session cookie being included in the ...
user345625's user avatar
  • 4,031
286 votes
16 answers
361k views

How to share cookies cross origin? More specifically, how to use the Set-Cookie header in combination with the header Access-Control-Allow-Origin? Here's an explanation of my situation: I am ...
Pim van der Heijden's user avatar
136 votes
4 answers
322k views

Below is a JavaScript cookie that is written on the user's computer for 12 months. After we set the cookie on our main domain such as example.com, should the user visit a subdomain like test.example....
Evan's user avatar
  • 3,511
77 votes
14 answers
173k views

I have an ASP.net application that uses a cookie to store the user selected language. Everything works fine except when I'm on localhost. Replacing localhost by 127.0.0.1 makes it work again... why? ...
AlexCode's user avatar
  • 4,133
145 votes
4 answers
86k views

What is the difference between local.test.com and .local.test.com ? The screenshot is from Chrome.
ripper234's user avatar
  • 231k
81 votes
6 answers
117k views

I have this real strange problem with client side javascript setting cookies. I'm developing a little 1 page demo at the moment to use cookies to store some 'preferences'. Please note that I can't use ...
Menztrual's user avatar
  • 41.7k
51 votes
10 answers
47k views

I'm using chrome and I'm wondering if there is either an extension or a method to tell why a cookie is not being sent. I have one request I'm making to http://dev/login and it's returning, Set-...
Evan Carroll's user avatar
47 votes
3 answers
36k views

Okay, this is really kinda starting to bug me. I have a simple Web project setup located at: "C:\Projects\MyTestProject\". In IIS on my machine, I have mapped a virtual directory to this location so ...
James McConnell's user avatar
35 votes
12 answers
5k views

I've developed a couple of alert boxes that display on all site pages. The user is able to close each box separately: $(document).ready(function() { $("#close-alert-box-news").click(function()...
Michael Benjamin's user avatar
18 votes
7 answers
71k views

No matter what I do I get an error (either X.cookies is not a function or X.addCookies is not a function). I tried with context, page.context. browserContext etc. and it always ends up in the same way ...
ugabuga77's user avatar
  • 831

15 30 50 per page
1
2 3 4 5