in reply to CGI::Session->delete()
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI::Session->delete()
by Anonymous Monk on Oct 22, 2003 at 19:33 UTC | |
by LTjake (Prior) on Oct 22, 2003 at 19:39 UTC | |
by Anonymous Monk on Oct 24, 2003 at 13:51 UTC |