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


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

Why are you attempting to load the session twice?

Remove the second call to CGI::Session->load() and add the strict pragma and fix the var declarations as needed (i.e., declare them with the 'my' keyword)

Replies are listed 'Best First'.
Re^2: CGI::Session small problem...
by fishmonger (Chaplain) on Feb 24, 2013 at 17:31 UTC
    Another suggestion to try is put your $sesion->header(...) statement after the flush statement