Search found 3 matches

by jas168
Sun Jan 13, 2008 9:38 am
Forum: PHP - Code
Topic: urgent php cookie kill problem
Replies: 4
Views: 749

Re: urgent php cookie kill problem

do you think its the
return session_id();
causing the problem?
by jas168
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

Inkyskin wrote:Try this:

Code: Select all

setcookie("cartId", "", time() - 3600, "/");
Just no luck, the cookie id still the same
by jas168
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...