Results 1 to 4 of 4

Thread: restricting user from leaving the page when back button is pressed

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    65
    hi,
    when a user logs into a site and does enter data
    say time sheet,etc .. and they should not be allowed
    to exit the site when they press BACK button ..
    instead they have to ALWAYS press LOGOFF button
    to exit ..

    If they press BACK button it should come back to
    the same page.. is there an easier way to do this..?
    thanks

    sarath

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    I would hate you as an end user if you disabled my back button. Some users will not log off. Plan for it. Even if you did disable the back button (which I strongly urge you not to!), nothing will stop them from typing in another URL or selecting a favorite from the favorites menu. If your using sessions, simply plan on there being some orphaned ones until they time out. (This will likely prevent you from using anything other than NT/2000 server as opposed to Workstation/Professional which limits concurrent connections on IIS (really PWS with an IIS shell) to 10.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3
    Addicted Member Active's Avatar
    Join Date
    Jan 2001
    Location
    Lat: 13° 4' 46" N, Long: 80° 15' 20" E
    Posts
    209
    Sarath....

    That is a very bad Idea. You just request them to logoff.
    If you can't beat your computer at chess, try kickboxing !!!
    [Download Tag Editing Tools.]

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    65

    thanks guys..

    hi ,
    thanks monte and guru..
    i give up.. i guess you are right..
    i had doubts of my own about this..
    thanks
    bye
    sarath..

Posting Permissions

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



Click Here to Expand Forum to Full Width