I've just installed an application that I wrote some time ago on a new server. The program relies heavily on CGI::Session. After installing it I noticed that a lot of the information that should have been stored in the session wasn't being stored properly. On further investigation I found that, in the sessions table, rather than having one row for each sid, each sid is repeated MANY times. It looks to me as though a new record is being created every time I'm trying to access a session.
I'm using MySQL for the backend. Any ideas what might be going wrong?