When using the [man]cookie()[/man] function then you have to set the time when it will expire. If you do like you've done it now, it's called a "session cookie". It will expire as soon as the visitor closes their browser. Try something like this instead:
setcookie("stemmen","ja",time()+3600)
This cookie will expire after one hour.