SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,529
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Where to go after Log Out

    If a User is on a general page (i.e. not restricted), where should they go after clicking "Log Out"?

    If a User is on a member-specific page (i.e. restricted), where should they go after clicking "Log Out"?


    Debbie

  2. #2
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not restricted - Back to the general page.

    Restricted - A login page

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,600
    Mentioned
    24 Post(s)
    Tagged
    1 Thread(s)
    Assuming the logout button is only there if they are logged in then you really have two choices - you either return them to the login page (or whatever page they were already on if that page doesn't require them to be logged in) OR you send them to a page that they can only get to when they log out.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    Non-Member Max Height's Avatar
    Join Date
    Dec 2011
    Posts
    303
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by DoubleDee View Post
    If a User is on a general page (i.e. not restricted), where should they go after clicking "Log Out"?

    If a User is on a member-specific page (i.e. restricted), where should they go after clicking "Log Out"?
    I don't think it's a question of where "should" they go but more like where would you like them to go, and the choices are many: a thank you for visiting page, home page, a separate relogin page etc etc etc

  5. #5
    Foozle Reducer ServerStorm's Avatar
    Join Date
    Feb 2005
    Location
    Burlington, Canada
    Posts
    2,699
    Mentioned
    89 Post(s)
    Tagged
    2 Thread(s)
    I like logging people out to a 'Thanks for Visiting' page that generally has a nav to non-restricted access content on the site like home and Login.
    ictus==""


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •