Brian Fenton wrote:
>
> Wow! Firstly, apologies to listers for sending dud example code - I just
> wanted to give readers an idea of the kind of thing I was trying. A vague
> idea... I guess I managed to get the vagueness across, but didn't do so well
> getting the idea across too. ;-) I guess the frustration was getting to me.
> Sorry for that.
>
> Secondly (and more importantly!) countless thanks to Rob Mayoff for his
> enlightening reply. I learned more from reading that single email than I've
> done from all the programming we've been doing the past month! Rob, if you
> were here in Dublin, I'd be taking you out for numerous Guinness to show my
> appreciation! Those example procs really opened my eyes to the power of TCL.
> Thanks again.
>
> Thanks also to Jim Wilcoxson for pointing out the array solution - it does
> look like the way to go. Seeing as we're so in love with the ACS here, we're
> going to stick with the namespace fix, but I agree the array solution is
> smoother. All I gotta do now is figure out how the clear out the namespace
> variables when I'm finished, which calls for a RTFM, I reckon! ;-)
you can clean up things when a connection ends using the ns_atclose
command. e.g.
ns_atclose "unset ::xyz::var1; unset ::xyz::var2; etc..."
see the link:
http://www.aolserver.com/docs/tcldev/tapi-c22.htm#179148
for more info on ns_atclose..
-mike hoegeman.
>
> cheers,
> Brian