> I have found out that the culprit was
> twofold, one is that startup.pl did not properly initialize Embperl
> (contrary to Embperl documentation),
This could happen if you load Embperl (via PerlModule) before you load your
startup.pl. Otherwise there shouldn't be a problem with your setup (also it
wouldn't work with Netscape either!)
> and second, was that I had to
> set expiration of cookies explicitly.
>
You need to set the expiration explicitly when you want the cookie to be
saved when you close your browser. If you don't set an expire, then your
browser forgets about the cookie when you close it.
Gerald