Does <@throwerror> work?
On Saturday, May 28, 2005, at 12:41 US/Pacific, Alan Wolfe wrote:
i tried <@exit> with the included file, (just .inc file, not a .taf)
with no luck, it exits from the .inc file but doesnt stop execution in
the main taf
i could use tcf if that would help, would there be a way to stop it
that way from within a tcf function?
On 5/28/05, Ben Johansen <[EMAIL PROTECTED]> wrote:
Why include? Why not TCF?
Have you tried the <@EXIT> tag with the included taf.
I think we had this discussion before, but I don't think that a taf
called
from an include executes like a normal taf. I have some sample code
somewhere the proves this.
Ben
-----Original Message-----
From: Alan Wolfe [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 9:32 PM
To: [email protected]
Subject: Witango-Talk: stopping execution of a taf from within an
include
file
Is there a way to stop execution of a taf from within an include file?
i have an include file that generates a random number and stores it in
a hidden field on a form and also stores that number into a user
variable. whenever anyone hits a taf it checks the value of the arg
against the last value of the user variable and if they don't match,
the arg and the user variable are out of sync because the user has
done a page refresh (trying to gaurdrail against page refreshes).
In any case, when the include file detects that the numbers dont match
i want it to be able to display a message with a button the user can
click to be taken back to the main menu.
so far it's all working and even displaying the message but i can't
get it to stop execution of the .taf that included this include file
when it detects this problem.
any ideas out there? (:
PS if i get this working i'll share the code to anyone who wants it to
be able to handle when users hit page refresh and re-submit post args
to avoid double entry of data etc!
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
_______________________________________________________________________
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
-----------------------------------------
Shannon Henderson
Web Support Services
Reed College
Portland, Oregon
503.517.7745
[EMAIL PROTECTED]
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf