a question to the author mr. myer ????
You may have noticed on some sites, that when you submit a form and later refresh the page, the data is sent all over again. This could become problematic as it could lead to a double registrations and unnecessary server load.
how to prevent this in the forms in the example website claudia_kids ?
how to do this in general when we have forms in codeigniter ?
i have seen another php script using header() function to redirect the user after submitting the form to the same page but to the clean url without posting any form parameters , so if the user do refresh he/she will not send the posted data again to the server.
how we can implement this in codeigniter ? is it the same way ?
thanx...
|