Add a login form to the site and a logout

Discussion in 'Integration' started by prosenjeet, Jul 11, 2015.

  1. prosenjeet

    prosenjeet New Member

    Jan 3, 2010
    I wish to create this:
    a protected folder...when user tries to access this folder he is sent to the "access denied.php" page...
    The "access denied.php" page will have a login form which when submitted (by registered user)will take the user to the cart page

    How to add this php code for login? and what's the code?
    Last edited: Jul 11, 2015
  2. alexander

    alexander Administrator Staff Member

    Jan 8, 2003
    It works this way already.
    When visitor tries to access protected folder he sees login page.
    When authenticated expired user tries to access protected folder he sees access denied page. Do you want to insert login form to this page? If so this will be confusing for user because he is logged in already.

Share This Page