http://www.perlmonks.org?node_id=1020407


in reply to Re: CGI::Session small problem...
in thread CGI::Session small problem...

Another suggestion to try is put your $sesion->header(...) statement after the flush statement