True, it is for expired sessions rather than explicitly deleted sessions but here's a one line change to do both:
Change
if ( time() >= $D->{ _SESSION_ETIME } + $D->{ _SESSION_ATIME } ) {
To
if ( time() >= $D->{ _SESSION_ETIME } + $D->{ _SESSION_ATIME } or $D-> +{ _STATUS } == 2 ) {
Warning: untested.
--
"To err is human, but to really foul things up you need a computer." --Paul Ehrlich
In reply to Re: Re: Re: CGI::Session->delete()
by LTjake
in thread CGI::Session->delete()
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |