Reputation: 28513
Just wondering (Coldfusion Newbie). I'm on this page, showing an example how to setup a user login/logout in Coldfusion.
Simple question:
If the user is not logged in, the application.cfc inserts a login form.
Question:
Is there any way to set a target where this login form ends up? Some target/selector/anything to make it show up where it's supposed to?
Thanks for infos!
Upvotes: 0
Views: 96
Reputation: 4694
The way that code is set up it doesn't matter where you point it as the cflogin tag will always catch the request and process it. In pseudocode...
if not logged-in (cflogin)
if not submitting form
show login form
else
process login form
Upvotes: 1