New Message on dotNET User Group Hyd

How to restrict BACK button action in browser

Reply
  Reply to Sender   Recommend Message 5 in Discussion
From: vijaichezhian

Hi friend ,  I think the following will help you.
If u have any clarification please get back to me.
 
Firts Way:
----------------
for security and privacy  reason the history collection has very limited
exposure in a browser.
You could start with disabling the caching by putting this in the head
of the pages:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
to eleimnate old versions of pages from the cache
Seconde Way :
---------------
you could try disabling the backspace key as you mention in your first
post key 
<body >

put the above code in each of your sites pages

means that if the body has focus and someone presses backspace then the
code runs and the backspace is nullified and the user doesn't navigate
back.

Third Way :
------------------
<script language="_javascript_"><!--
_javascript_:window.history.forward(1);
//--></script>

use the code in each nad every HTML page this in will restrict the Back
button in Broser
 
All the best
 
cheers from
chezhian.R

View other groups in this category.

Click here!
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to