SitePoint Sponsor

User Tag List

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

    Where to go after Logging-Out?

    On my website, I have a "Log Out" link in the upper-right header.

    Currently, when a user clicks on the link, he/she gets a new screen that says...

    Log-Out Succeeded

    You have been successfully logged-out.

    <Log In> or <Go to Home Page>
    ... where the last line are two buttons.


    Where would you want/expect to be taken when you log out...
    1.) Left on the Current Page?
    2.) Given a choice to Log-In?
    3.) Given a choice to go to Home Page?
    4.) Other?


    (BTW, I'm not here to debate if you like my "Confirmation Page", because that is the style I have chosen for all messaging on my website except for Form Errors.)

    Sincerely,


    Debbie

  2. #2
    SitePoint Addict deadmix's Avatar
    Join Date
    Jun 2009
    Location
    france
    Posts
    210
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I think Going Directly to the Homepage is better... like that if there is something new added maybe he/she will stay

  3. #3
    SitePoint Addict bronze trophy
    Join Date
    Mar 2013
    Location
    Oneonta, NY
    Posts
    307
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Doubledee,

    I think it would depend on what they were doing when they logged out and if they expected to see the same content if they were logged out. Take the Sitepoint forum for example. Say you just wanted to log our for whatever reason but wanted to continue reading a thread that you were looking at. In this regard being taken somewhere else would be irritating.

    On the other hand, if the user has sensitive information like an email account or other data that non-logged in users should not be able to see, then sending them to the home page is appropriate. Or just a login page.

    Hope that helps,
    Shawn

  4. #4
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,764
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by smanaher View Post
    Doubledee,

    I think it would depend on what they were doing when they logged out and if they expected to see the same content if they were logged out. Take the Sitepoint forum for example. Say you just wanted to log our for whatever reason but wanted to continue reading a thread that you were looking at. In this regard being taken somewhere else would be irritating.

    On the other hand, if the user has sensitive information like an email account or other data that non-logged in users should not be able to see, then sending them to the home page is appropriate. Or just a login page.

    Hope that helps,
    Shawn
    That is sorta what I was thinking.

    So how would I code that?

    I think such a design would require more effort than it's worth.

    Most of my website uses $_SESSION['returnToPage'], but that is almost always used in the content of a few scripts working together. (For example, you go to the "Change Details", I capture that as the "returnToPage", then if you aren't logged in, I go to "log-in.php", which then returns you to "Change Details" via the "returnToPage".

    But I wouldn't want to just send people to "returnToPage" from anywhere on my website, because there are probably cases where it would give unexpected results.

    For now, at least, I guess my thinking is this...

    If you are Logging Out, you must have a good reason (e.g. on another person's computer, changing users) and so if after that happens take you to a page offer "Log In" or "Go to Home Page" you should be satisfied.

    Like you said above, what if a person was reading "Postage Meters Can Save You Money", decided to Log Out, and wanted to continue reading the article?

    Well, if they had to navigate back to it manually, it wouldn't be the end of the world. (It was they that just had to log out in the first place?!)

    If Stomme Poes is out there, this seems like something that she'd have a good take on...

    Thanks,


    Debbie

  5. #5
    SitePoint Addict bronze trophy
    Join Date
    Mar 2013
    Location
    Oneonta, NY
    Posts
    307
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Doubledee,

    I agree with your last point. I think that when you take everything into account, if it would be time consuming to code the site in this way vs the marginal benefit of not inconveniencing a few users, I would opt to just send them home after logging out. I would venture a guess that the majority of users won’t care where they go.

    Best,

    Shawn

  6. #6
    Non-Member
    Join Date
    Feb 2013
    Location
    Dallas
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its better to redirect that page to Homepage where he/she can visit with something new(if added) otherwise put a Login button in Home page alone for relogin.

  7. #7
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,764
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by smanaher View Post
    Doubledee,

    I agree with your last point. I think that when you take everything into account, if it would be time consuming to code the site in this way vs the marginal benefit of not inconveniencing a few users, I would opt to just send them home after logging out. I would venture a guess that the majority of users won’t care where they go.

    Best,

    Shawn
    Okay, sounds good, you win.

    I'm not going to change what I currently have - too much else to worry about getting ready to release v2.0!!!

    Thanks!


    Debbie


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
  •