in reply to CGI Cookies...

Can you see my mistake?

No, but I can suggest a debugging technique. Write a small script that dumps %ENV, and look for what's different between the trailing '/' and the no trailing '/' case.