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


in reply to Re^2: CGI::Session and cookie expiration
in thread CGI::Session and cookie expiration

And you can actually disable that by setting $CGI::HEADERS_ONCE = 1.