|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
preventing resending of post data
i am trying to make a forum in coldfusion and it is really coming along.
When a user tries to create a new thread or add a comment, they do so with "URL.action=addcomment" and that works fine submitting to the data and taking him back to the thread/comment page. The problem is that if a user refreshes, the page can't do so without resending everything a messing everything up (it says that silly post data message). What is the easiest way to prevent this problem? |
|
#2
|
|||
|
|||
|
After you've handled the form post, do a cflocation to where ever you want the user to go. They can refresh as many times as they want to because they aren't posting form variables any more, you've started a new page request.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > preventing resending of post data |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|