How to use a back button in action pages?
Hi all,
I have created a user login page,home page and user profile page.
If the user provide correct username and password in the login page he will be taken to home page.
In the home page he will be having his username and a link to view his profile.
When the user click on the link "My Profile(user profile)" he wil be taken to that page.
In my profile page the user can edit only his firstname,lastname and password .
On the user profile page i have placed a Back Button(using javascript: on onclick event i have used history.back()) to go back to home page after editing his profile.
If the user edit his profile for n-number of times then atlast if he wants to go back to home page-then he wil cilck the back button.
Now the problem occurs like the back button not going to home page and it simply going back with the edited history.
How to use a back button in action pages; without repeating the actions done on the page; how to redirect to the users home page?
I simply used the hyperlink in userprofile page to go to home page but when i click onit it is displaying blank home page.
I'm using hibernate orm mapping; cflogin and cflogout tags.
Any help appreciated,
Chandru P
