[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] creating a temporary page variable


Quoting Jeff Dafoe (suppressed):
> >  [tmp some_scratch] something [/tmp]
> >
> > it goes away after the current page.
> 
>     I think the tag reference is wrong.  It says for tmp:
> 
> "Sets a scratch variable to value, but at the end of the user session the
> Scratch key is deleted"

That is actually correct. I don't know where your confusion lies...

> 
>     That is what confused me.  I went ahead and made a note in the online
> reference to reflect the information you provided.  Thanks for the
> additional information, as I was also wondering about the lifetime of
> variables used in embedded perl.
> 

All variables in IC, except for ones stored in the user session,
last only for that page. Even if you set $Config, which you actually
see quite frequently, it will return to the catalog.cfg value on
the next access.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <suppressed>

Nature, to be commanded, must be obeyed. -- Francis Bacon
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.