Results 1 to 2 of 2

Thread: log out code,,help!!!

  1. #1
    Join Date
    Jul 2010
    Posts
    3

    log out code,,help!!!

    Can anyone help me??I have this website with a log in and log out menu for the user. All i want is that when the user has log out from his account,it will be redirected to the other page in the site and when the back button of the browser is press it will not go back to the account where the user status is still log in..

  2. #2
    Join Date
    May 2010
    Location
    College Station, TX
    Posts
    216
    You need to destroy whatever hook your log-in script creates for the user's session. If your using session_open(), then use session_destroy(). If it's db/cookie managed, then delete the db entry or the cookie.
    All web designers hate the internet. If I spend all day making/updating/looking at websites, why the hell would I want to deal with it outside of work?

Similar Threads

  1. Admin Log In Form
    By kmsmith10 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 19 Jul 2010, 12:04 PM

Posting Permissions

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