php - Cookie issue on google chrome -


i encounter cookie issue website.

when customer click on "remember me" before log-in, cookie created, , when leave , come later, automatically re-logged.

it works on firefox/ie & co, not chrome...

i have wrote little script test cookies creation on chrome. here :

<?php  if( isset($_get['test']) ) setcookie('testsomecookie',1234,time()+60*60*24*365); ?> 

it can't more simple!

when run script :

  1. the cookie created properly.
  2. if close tab , open new 1 (without pass test param), cookie still exists.
  3. if close google chrome , re-open it, , go test script (without pass test param), cookie not present anymore... , if on firefox or ie no problem cookie still present in cases.
  4. i'm trying on webserver ( not local ip address ).
  5. i have not activated private navigation on chrome.
  6. cookies enabled , works on gmail/facebook, etc... chrome keep cookies these sites!
  7. i checked other issues posted on web no real answers that...

so, weird issue solve if possible.

if have idea...

thank suggestions , sorry english

try see if keep local data until quit browser checked.

its located in settings > content settings > cookies.

see if helps.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -