<cfabort> is your friend. It stops processing dead in its tracks so super-safe.

the full tag is <cfabort showError="a nice text message"> which you could use for your message, that or put a bit of html before this tag.


On 7/03/2013 7:43 PM, Manuel Reimer wrote:
Hello,

I want to add a privilege check to check out if a user is allowed to use
a page or a form handler. If not allowed, I just want to print a simple
one-line text error message and then stop processing immediately.

Can "<cfexit>" be used for that? Does it really *stop* processing
immediately, so a unprivileged user can't abuse cfml scripts they aren't
allowed to use?

Thanks in advance

Best regards

Manuel Reimer


--

Yours,

Kym


--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to