Topic: changing password
after I change password (update the table) and call the pun_setcookie()-function it logs me out of the system...why is that?
$expire = ($save_pass == '1') ? time() + 31536000 : 0;
pun_setcookie($pun_user['id'], $new_pwd, $expire);
check_cookie($pun_user);
EDIT:
after I set the cookie I try to run check_cookie($pun_user); ..I guess it's where I'm getting logged out, but I can still not figure out why. Any ideas?