do you think its the
return session_id();
causing the problem?
Search found 3 matches
- Sun Jan 13, 2008 9:38 am
- Forum: PHP - Code
- Topic: urgent php cookie kill problem
- Replies: 4
- Views: 749
- Sun Jan 13, 2008 9:37 am
- Forum: PHP - Code
- Topic: urgent php cookie kill problem
- Replies: 4
- Views: 749
Re: urgent php cookie kill problem
Just no luck, the cookie id still the sameInkyskin wrote:Try this:
Code: Select all
setcookie("cartId", "", time() - 3600, "/");
- Sun Jan 13, 2008 9:27 am
- Forum: PHP - Code
- Topic: urgent php cookie kill problem
- Replies: 4
- Views: 749
urgent php cookie kill problem
Hi i have a problem trying to kill a cookie session below is the codes i create the cookie function GetCartId() { // This function will generate an encrypted string and // will set it as a cookie using set_cookie. This will // also be used as the cookieId field in the cart table if(isset($_COOKIE[&q...