I want to create an application with a login page.But once the user enters his credentials and click on the button and a new page appears,he must not be able to go back to login page unless he logs out i.e back tab of browser must be disabled or something.How to do this?
Basically you want to break a default browser behaviour (back button). It could be confusing for an end user.
After logining in successfully and being presented a new page, if the user presses the back button in the browser what should he see ? the same page again, a default home page ?
Anyway if you have to implement this feature the solution will depend on you have currently in place in your application in term of techno and authentication model.
But I think the HTTP session will have a role to play