Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. no back

no back

Scheduled Pinned Locked Moved Web Development
toolsquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brakanjan
    wrote on last edited by
    #1

    Hi i have a login script, but after the user has logged out, i want to disable the back button. how is this done, and is it a proper controlling method? tx

    N S M 3 Replies Last reply
    0
    • B Brakanjan

      Hi i have a login script, but after the user has logged out, i want to disable the back button. how is this done, and is it a proper controlling method? tx

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      To my knowledge there is no way to disable the the back button on the clients browser. If you are using a session to monitor the login status then you should remove it after logout and check it on all pages.

      1 Reply Last reply
      0
      • B Brakanjan

        Hi i have a login script, but after the user has logged out, i want to disable the back button. how is this done, and is it a proper controlling method? tx

        S Offline
        S Offline
        Sarvesvara BVKS Dasa
        wrote on last edited by
        #3

        Brakanjan wrote: i want to disable the back button I guess you dont want to allow the user to come back & access the page after he logged out, by clicking the 'back' button. There may be javascript(s) to disable the 'back' button... But the right way to do your job is to control the page access with the session/cookies that are set in the 'login' process. So... they become invalid when the user presses the 'back' button, and the user would be redirected to the custom wrror page!!! I was born intelligent
        Education ruined me!.

        V 1 Reply Last reply
        0
        • S Sarvesvara BVKS Dasa

          Brakanjan wrote: i want to disable the back button I guess you dont want to allow the user to come back & access the page after he logged out, by clicking the 'back' button. There may be javascript(s) to disable the 'back' button... But the right way to do your job is to control the page access with the session/cookies that are set in the 'login' process. So... they become invalid when the user presses the 'back' button, and the user would be redirected to the custom wrror page!!! I was born intelligent
          Education ruined me!.

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Check this: http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/history.html You can try calling the forward method in history object as the first line. Is'nt it? Deepak Kumar Vasudevan Personal Web: http://www24.brinkster.com/lavanyadeepak/default.asp I Blog At: http://deepak.blogdrive.com/

          1 Reply Last reply
          0
          • B Brakanjan

            Hi i have a login script, but after the user has logged out, i want to disable the back button. how is this done, and is it a proper controlling method? tx

            M Offline
            M Offline
            Member_813464
            wrote on last edited by
            #5

            Use the image button to control this problem. Check the userID value is true then show the back button image else switched off. If you taking about the IE back button its not possible. Only way you can check some authentication in your beging of your script to display your page contect. ---------------------------- while 1 yours friendly

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups