in reply to Value for session set in CGI::Session is undef

I'm not exactly sure what your problem is, but I do have a couple of things to point out.