Jump to content

[SOLVED] Php Cookies


LaRoza

Recommended Posts

it shouldnt matter which page your removing the cookie from... as long as you have access to the function... or just use the bare essentials from it...

 

setcookie('created', "", time()-3600);

 

that works just as well...

basically your just setting a blank cookie overtop of the old one, that expired an hour ago(immediatly)...

Link to comment
https://forums.phpfreaks.com/topic/49464-solved-php-cookies/#findComment-242575
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.