please anybody explain me the ASP coding to disable the back and forward buttons.
You can't disable the back and forward button in ASP, it has to be done client side in Javascript. There is lots of scripts on the web do achieve this in JS