I'm having a problem with CGI::Session. When creating a new object with existing session_id, I sometimes get this error:
Can't modify constant item in scalar assignment. At other times, all works fine. I thought the problem was with the timeout, but adding $session->expire('1h') did not solve the problem. It can fail at the first attempt or succeed 20 time and then fail.
Any suggestions?