How to handle browser 'BACK' button ?
I have a issue in firefox . This is fine in IE..
There is a form in page where user can add/edit/delete the user details like name, username, password etc.
And in the same page somewhere i am showing the list of the usernames in a multple select box, which were added.
While adding the form i am checking the username availability. It should be unique across the system.
My problem, when i load the page first time in Firefox, it shows fine and it shows the added usernames in a multipie select box and allows the admin to add the new user. When admin added one record successully, i am pressing browser button 'BACK'. Now there will be some entries in the text box and the multiple select box is not showing the recent added user.
When i am pressing the save button, It is saying this username is not available but it is not showing in the multiple select box.
If i refresh the page, it is ok. The recent added also will be shown.
In IE when i press back button, It will show the recent username also, even without refresh also.
I need similar functionality in firefox also.
Any help would be very much appreaciated.