proper mvc way of posting data to a form. |
[eluser]chubbypama[/eluser]
[quote author="WanWizard" date="1337362157"]In general you never update data through the URI, doesn't matter if you're using GET variables or URI segments. You post data through HTTP POST, and don't process it until after proper validation.[/quote] thanks for the post/response. here's another question then. i have a script that is going to be running on a box and will need to send data to my page every couple of minutes. in my old version, i just had the script use a url like: http://myserver/mysite/?var1=123&var2=123 etc. i guess i'll have to see if i can do a http post from the script.... as far as the web page is concerned then, i would just code it as if i had a form, and the form was posted... is this correct? |
Messages In This Thread |
proper mvc way of posting data to a form. - by El Forum - 05-18-2012, 08:48 AM
proper mvc way of posting data to a form. - by El Forum - 05-18-2012, 09:56 AM
proper mvc way of posting data to a form. - by El Forum - 05-18-2012, 10:29 AM
proper mvc way of posting data to a form. - by El Forum - 05-18-2012, 10:59 AM
proper mvc way of posting data to a form. - by El Forum - 05-21-2012, 12:25 PM
proper mvc way of posting data to a form. - by El Forum - 05-22-2012, 02:51 PM
|