in reply to CGI::Session keeps re-using same session ID
What am I doing wrong? Thx.
:) For some unknown reason you're trying to reinvent the wheel, but if you insist, see Cookie login (pseudocode)/ http://www.stonehenge.com/merlyn/WebTechniques/ / Basic cookie management (May 01),
For easier ways see cgi-app / mojo / dancer / catalyst / https://metacpan.org/module/Dancer::Tutorial / RFC: Proposed tutorial - simple login script using CGI::Application,CGI::Application - LoginLogoutExampleApp / CGI::Application::Plugin::Authentication::Display::Classic - login box that works out of the box