Dashboard > RIFE > ... > Authentication > Logout element flavours
RIFE Log In | Sign Up   View a printable version of the current page.
Logout element flavours


Added by Geert Bevin, last edited by Geert Bevin on Jul 18, 2006  (view change)
Labels: 
(None)

Logout element flavours

Logout elements can either use an intermediate confirmation response page that's provided through a template, or integrate invisibly in the application's workflow with an automated return to the origin thanks to snapbacks.

To use the element with an intermediate logout confirmation page, you use

rife/logout/template/memory.xml

and

rife/logout/template/database.xml

The pass-through element is available through

rife/logout/passthrough/memory.xml

and

rife/logout/passthrough/database.xml

Configuring the logout elements

The database flavours require a "datasource" property, like this:

<element file="rife/logout/template/database.xml" id="logout" url="logout">
  <property name="datasource"><config param="USERS_DATASOURCE"/></property>
  <!-- ... -->
</element>

The template flavours require a template_name property, which is the path of a template to print. You must also specify a authvar_name (like "authid") and authvar_type (like "input" or "cookie"). You may also specify a template_type (like "xhtml").

The passthrough flavours exit to a logged_out exit, so you should specify a flowlink for this exit.

Departures

To make sure that all global variables are reset after logging out, you can use departures.



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators