PDA

Click to See Complete Forum and Search --> : restricting user from leaving the page when back button is pressed


sarath_777
Mar 13th, 2001, 02:01 PM
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

monte96
Mar 13th, 2001, 02:23 PM
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.

Active
Mar 13th, 2001, 11:58 PM
Sarath....

That is a very bad Idea. You just request them to logoff.

sarath_777
Mar 14th, 2001, 07:16 AM
hi ,
thanks monte and guru..
i give up.. i guess you are right..
i had doubts of my own about this..
thanks
bye
sarath..