You shoul use javascript History.length property, that's;
Track a variable in a hidden type input and compare it with the history.length value (
if
it's < or > the hidden value)
Good luck
somebody great wrote:
> Hi all,
> I have a form to add a new employee details. After adding the employee ,
> there is a possibility that the user presses the back button in the browser
> and add the employee again.
>
> How do I avoid this.
>
> Is there any possiblity to disable the back button in the browser.
>
> I use servlets.
>
> Thanks in Advance,
> ram
>
> _____________________________________________________________________________________
> Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html