Q.) Friends if anybody worked for online banking project,Please do help me with your answers for the following question?

When a customer logs-in into his account, and then after entering into his account, he clicks the go Back button . Then he should see the error Page instead of the Bank Log-in Page. How can we do this? Please explain the technical part to do this?

"Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend."