Domanda

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!

È stato utile?

Soluzione

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top