|
I can agree with that statement. I've found this to
be the case the hard way. I have a control panel script that has a bunch of
forms on it that consist of submit buttons that toggle a control on or off (0 or
1) and based on that setting I will update vars of different scopes. Some of
these buttons are dependant upon their a variable in some scope being set. What
I have done is built a set of what I call require which are small
tafs that check to see if the variables in a specific scope are still valid.
This is usually like the 1 or second action in all my tafs. I call it using a
branch and return from branch function. this is really just and an if else
decision tree checking the variables in some prescribed hierarchy I usually
start at the top with Server, application, and Domain scope and then move
down through the User and Local vars. If any of these vars are proven
to be invalid I reload the variable in question from the db with
a dbms call to the table where that variable is stored. and then continue
through the tree. This is tricky with locals as most of the time locals
are generated consumed and destroyed too fast to make a difference or are
not generated by some db setting so in that case too bad, soo
sad.
But what this provides is a first line
of defense to the "unpredictable" results that Robert alluded to by
forcing the taf to decide if all the vars are still valid before
getting to the page.
csmith
----- Original Message -----
|
- Witango-Talk: a random question Alan Wolfe
- Re: Witango-Talk: a random question Robert S. Sfeir
- Re: Witango-Talk: a random question Chris Smith
- Re: Witango-Talk: a random question Garth Penglase
- Re: Witango-Talk: a random question Bill Conlon
- Re: Witango-Talk: a random question Bill Conlon
- RE: Witango-Talk: a random question Simon Boddy
- RE: Witango-Talk: a random question Garth Penglase
- Re: Witango-Talk: a random question John McGowan
- Witango-Talk: What is really happening? Mark Weiss Vancouver
- Re: Witango-Talk: What is really ha... Wayne Irvine
- Re: Witango-Talk: What is really ha... Scott Cadillac
- Re: Witango-Talk: What is real... Jesse Parker
