Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 809923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:48:16+00:00 2026-05-15T00:48:16+00:00

Since today I am facing a tricky issue with Google Chrome that I’ve just

  • 0

Since today I am facing a tricky issue with Google Chrome that I’ve just updated to v5.
I have a user login process running on my website. Everything works fine on FF 3.6.x and IE 7, but I just can’t set any cookie in Google Chrome 5. I’m mentioning 5 because it worked very well before on v4.

My PHP script looks like that:

  $cook = setcookie($cookieName, $value, $expires, '/', '.'.$domain);
  var_dump($cook, isset($_COOKIE[$cookieName]));

I even tried the alternative setrawcookie without any result.

  $cook = setrawcookie($cookieName, $value, $expires, '/', '.'.$domain);
  var_dump($cook, isset($_COOKIE[$cookieName]));

FF 3.6.x and IE7 output:

bool(true) bool(true)

Whereas Chrome v5 outputs:

bool(true) bool(false)

And obviously I see not trace of this cookie in Google Chrome 5. Any idea? =/

Cheers,
Nicolas.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:48:17+00:00Added an answer on May 15, 2026 at 12:48 am

    You can check cookies by entering javascript:alert(document.cookie) into address bar.

    Cookie will be sent to server on 2nd request.
    [browser request(no cookie)]->[server response(set cookie)]...[browser request(cookie, if valid)]->...
    So you should see the cookie in $_COOKIE by refreshing the testpage.

    Also check if your parameters are right. (time in future and domain is your domain)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using since today Eclipse on Windows 7 64bit. So eclipse is still pretty
I've started learning rails3 few days ago, and since today, every time I run
It's been a long time since I did anything in flash, and today, I
today I've been working on loading dynamic javascript code (files). The solution I use
Today I'm on a mission to remove little red X's from my django project
Today a workmate was working on a third-party video player integration for a set-top-box
I was reading this today: http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#default-parameter-values and I can't seem to understand what's happening
The goal Today's Code Golf challenge is to create a regex parser in as
Today at work I had a discussion with my co-workers and my boss about
Inside a DLL, we've defined two classes (Class1 and Class2) which inherit from an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.