PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
bool setcookie ( string name [, string value [, int expire [, string path [, string domain [, int secure]]]]])
If you don't give it the expire option then the cookie expires at the end of the session (when the browser closes), sure you're not getting this behaviour?