CGI::Session files are only MARKED for deletion with delete(). They are actually deleted on next access. Thus, if that session ID gets lost somehow, it will never get deleted.
There was a previous discussion similar to this not too long ago.
I created a snippet to delete all expired sessions.
Update: I took a look at CGI::Session again. Apparently flush() is called in the destructor, which calls remove() if the session is to be deleted. Hrmm, odd. Maybe try calling flush() explicitly after the delete?
HTH
--
"To err is human, but to really foul things up you need a computer." --Paul Ehrlich
In reply to Re: CGI::Session->delete()
by LTjake
in thread CGI::Session->delete()
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |