[SOLVED] Cookie Help Required! Cookies set but not showing in other applications?

I have a login form with a “remember me” option which sets a couple of cookies
This seems to work fine and I can see the cookies in firebug with the correct values.
However when I go to another application you cannot see the cookies?? i.e I wanted a control that KILLS the cookies, but fails because there are no cookies to kill, and I cant see them in fire bug?

Are the cookies not stored on the computer rather than an application are am I getting something wrong here?

FYI - This is the code I use to set the cookies

setcookie('rep_groupUser', [groupUser], time() + 5184000);
setcookie('rep_password', {password}, time() + 5184000);

Any help would be appreciated

Hi,

use setcookie() in this way:

setcookie(‘rep_groupUser’, [groupUser], time() + 5184000, ‘/’);

See the parameter “path” on the php doumentation: http://www.php.net/manual/en/function.setcookie.php

Thanks for taking the time to help. Sorted!

Hi and thanks for taking the time to help.
Sometime you just need pointing in right direction :slight_smile:

Regards

Andy

[QUOTE=RHS;12803]Hi,

use setcookie() in this way:

setcookie(‘rep_groupUser’, [groupUser], time() + 5184000, ‘/’);

See the parameter “path” on the php doumentation: http://www.php.net/manual/en/function.setcookie.php[/QUOTE]