Hi, i need some help with a problem i am having on my news site.
I have a PHP script that manages news articles, and when we read an individual script, the site gives the possibility to add a comment, well, to add the comment, i use a form that redirects to a new page where my database is updated and automatically returns to the original page, showing that comment the user just made. (hope i am being clear)
The problem is, if the user, after adding a comment, clicks on the back button of the browser, he goes to that redirect/add comment page, instead of going to where he originally came from. (i know this is the right thing to happen) What i would need, in rough terms, would be to amke the browser "forget2 that last jump to the redirect, so that if the user clicks back, the browser takes him to where he came from. (like the archive or main page)
thanks.
I have a PHP script that manages news articles, and when we read an individual script, the site gives the possibility to add a comment, well, to add the comment, i use a form that redirects to a new page where my database is updated and automatically returns to the original page, showing that comment the user just made. (hope i am being clear)
The problem is, if the user, after adding a comment, clicks on the back button of the browser, he goes to that redirect/add comment page, instead of going to where he originally came from. (i know this is the right thing to happen) What i would need, in rough terms, would be to amke the browser "forget2 that last jump to the redirect, so that if the user clicks back, the browser takes him to where he came from. (like the archive or main page)
thanks.