[ic] clear all values

Jon Jensen jon at endpoint.com
Mon Aug 29 22:04:15 EDT 2005


On Mon, 29 Aug 2005, jeff at hisgirlfridays.com wrote:

> How would one clear the entire value space in the 4.8 series?  I know 
> userdb has a function to do this at logout, but I don't feel comfortable 
> using it because I don't have a userdb for this particular site.
>
> I tried the code below, which I ripped from the values-space usertag, 
> and it looked OK but didn't seem to actually do anything:
>
> [perl]
> 	$Vend::Session->{values}={};
> 	$::Values = {};
> 	return;
> [/perl]
>
> I even threw an [update values] after it, which yielded the same result.

I would think this would work:

[calc] %$Values = (); return; [/calc]

Jon


-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/


More information about the interchange-users mailing list