[ic] $::Control leaking between pages?

Mike Heins mikeh at endpoint.com
Mon Apr 4 00:32:23 UTC 2016

Quoting Peter (peter at pajamian.dhs.org):
> On 04/04/16 06:50, Mike Heins wrote:
> >> I think this would be possible in the case of a new session,
> >> not otherwise.
> Possibly also in the case of a "nosession" robot.  I did notice that
> $::Control is cleared in read_session(), but only if a valid session
> actually is read.  I think that also this would only really show up if a
> control variable is not explicitly set (in the [control-set] tag) for a
> page (otherwise the newly set value would override the old), so a fair
> few stars have to align properly for this bug to rear its head (which
> would be why this hasn't shown up until now).
> > Actually, this should happen in Vend::Server::reset_vars(), and I have
> > done that. If you apply this patch:
> Almost exactly what I was thinking.
> > I have committed this to the repository.
> Great.

Thanks for finding the bug. In fact, I am wondering if it might be
causing a persistent problem I have seen on another system.

Mike Heins
End Point -- Expert Internet Consulting    http://www.endpoint.com/
phone +1.765.253.4194  <mikeh at endpoint.com>

The tenor's voice is spoilt by affectation,
 And for the bass, the beast can only bellow;
In fact, he had no singing education,
 An ignorant, noteless, timeless, tuneless fellow. -- Lord Byron

More information about the interchange-users mailing list