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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.