I am facing a strange issue while setting and deleting cookies.
I am setting a cookie with the line below:
setcookie( $cookie, base64_encode( $step . $val ), time() + 3600, '/', 'domain.com' );
The cookie is set correctly with the given expiration time.
Trying to delete it with the following line:
setcookie( $cookie, '', time() - 3600, '/', 'domain.com' );
This does not remove the cookie, rather firebug shows this as a session cookie now!!
Can you please let me know what i might be doing wrong.
Thanks