Urgent Please

Discussion in 'PHP' started by sankarshriin, Aug 16, 2010.

  1. sankarshriin

    sankarshriin New Member

    Joined:
    Aug 16, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    When i sign-out the page, Back space is working. I want to disable backspace using php script.
    Please any one help me......
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Moved to PHP forum with proper title.
     
  3. johnny.dacu

    johnny.dacu New Member

    Joined:
    Jul 6, 2010
    Messages:
    88
    Likes Received:
    4
    Trophy Points:
    0
    Why do you need to disable it? After sign out a good server script will clear all sessions... Returning on previews page with back action is just an history/cache issue.
     
  4. pein87

    pein87 Active Member

    Joined:
    Aug 6, 2010
    Messages:
    173
    Likes Received:
    47
    Trophy Points:
    28
    Occupation:
    Web Dev
    Location:
    Limbo
    I dont think you can disable the back button with php since thats a client site thing, and yeah if your script is good all session or cookies will be removed so pressing back you would still be logged of but it would appear that your still signed in because thats the state it last showed. Log out, press the back button and then try to write a post or a new thread or just refresh the browser and you'll see that your logged out. This works even if you have multiple tabs if you log out of one you cant do any posting because your sessions are gone and are shown as offline.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice