jarthel said the following on 09/12/2009 01:49 AM:
> I guess I asked since it's quite common for forms to be submitted to
> itself.
>
> like perhaps a login form whose action is itself. if not "posted",
> just display the form. if "posted", validate the username/password.
>
> Maybe this isn't the mach-ii way?
>   
Not at all.  Typically you post your form to an "action" event-handler.  
"login" may show the login screen and then you have a "login_process" 
event-handler.  Your "login_process" event-handler will then decide what 
needs to happen, either redirect back the "login" screen because it 
failed or show some other screen because they authenticated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to