I am new to the web applications.Could anyone help me out.
I have a web based application.After registering to the site (with his user-id ,password and account )the user is logged in and the first page is displayed.
If he clicks on the browser back , the registration form is shown again and he can submit a form again with another account number. This is allowing the accounts linked to the same user.
(1)Instead ,I would want to log him out as soon as he clicks the BrowserBACK.
(2)If he directly types in the URL for the registration form ,since there is already an existing account ,he must get a warning to use AddAccounts link and not to register twice
How can get this done?