Welcome Guest, Not a member yet? Register   Sign In
Block GET Call to method
#1

[eluser]Ceros[/eluser]
Hi,

I know that in ASP.NET MVC there is something called AcceptVerbs. So you can do this:

<AcceptVerbsTongueOST>_
function insertdatabase(param1, param2)...

Using this, when you directly call www.mysite.com/controller/insertdatabase it doesn't work. But it will if you are using a form with method="POST".

Is there a way to do the same thing in CI?

Thanks!
Seb


Messages In This Thread
Block GET Call to method - by El Forum - 02-14-2010, 02:50 PM
Block GET Call to method - by El Forum - 02-14-2010, 03:51 PM
Block GET Call to method - by El Forum - 02-14-2010, 05:03 PM
Block GET Call to method - by El Forum - 02-14-2010, 05:16 PM
Block GET Call to method - by El Forum - 02-14-2010, 08:46 PM
Block GET Call to method - by El Forum - 02-15-2010, 07:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB