in reply to Re: Perl CGI::Sessions
in thread Perl CGI::Sessions

life saving advice!!!

always use $session->flush()

!!!!

sometimes the redirection to the new page happens before session saves things to disk!

I guess when the cgi script exits the session file is saved to disk, but redirecting to the new page happens before the script exits...

thanks moritz and deMize

bliako