It seems that you are creating an unintended closure. You should try declaring your vars inside of the sub 'checkin' and not outside of it. This may not be your only problem but it's a good place to start.
Michael Peters Venzia Levente Janovszki wrote: > > my ( $r, $cookie, %session, $html_code, $session_cookie ); > &checkin; > > sub checkin { > all the code > ... -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html