BTW there's no need to create a new session in the elsif branch.
In reply to Re: Problems with CGI Sessions by moritz in thread Problems with CGI Sessions by nemo