Dreamweaver CS3  |  Go to CS4 Help

Log out users (ColdFusion, ASP, JSP, PHP)

When a user logs in successfully, a session variable is created that consists of the user name. When the user leaves your site, you can use the Log Out User server behavior to clear the session variable and redirect the user to another page (usually a goodbye or thank you page).

You can invoke the Log Out User server behavior when the user clicks a link or when a specific page loads.

Add a link to let users log out

  1. Select text or an image on a page to serve as the link.
  2. In the Server Behaviors panel (Window > Behaviors), click the Plus (+) button and select User Authentication > Log Out User.
  3. Specify a page to open when the user clicks the link, and click OK.

    The page is usually a goodbye or thank you page.

Log out users when a specific page loads

  1. Open the page that will load in Dreamweaver.

    The page is usually a goodbye or thank you page.

  2. In the Server Behaviors panel, click the Plus (+) button and select User Authentication > Log Out User.
  3. Select the Log Out When Page Loads option, and click OK.

Comments

Comments are no longer accepted for Dreamweaver CS3. Dreamweaver CS4 is the current version. To discuss Dreamweaver CS3, please use the Adobe forum.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/en_US/Dreamweaver/9.0/WScbb6b82af5544594822510a94ae8d65-7879.html