Jump to content

Stupid cookies are stupid


MySQL_Narb

Recommended Posts

Why doesn't

 

 

setrawcookie('saved_game', $data[0]['data'], time() + (10 * 365 * 24 * 60 * 60), '/');

 

Overwrite the existing saved_game cookie?  It simply refuses to overwrite the exsting cookie data.

 

The cookie is being set here, in JavaScript:

 

 

document.cookie = 'saved_game=' + saveCookie + '; expires=Sun, 25 Dec 2020 20:47:11 UTC; path=/';

 

 

Link to comment
https://forums.phpfreaks.com/topic/285294-stupid-cookies-are-stupid/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.