• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Refreshing re-enters the data in the db again and again. Help?

#4
[eluser]liesbetweenyoureyes[/eluser]
I am just loading a new view. I have not yet encounter redirect before.
Oh that's probably the reason why it goes again and again...

Yup my code has still some logical error but I am gonna fix it, thanks for the advice

also thanks for the idea guys! it worked using a redirect.

I have a question, umm so I put my redirect in the Controller and directs it to a new function there. Is it okay to put that in the controller or is it a better practice if it is in the Model as a function? Or either is okay? I'm still doubting my knowledge when it comes to MVC so I wanna ask you guys the best practice for it.


Messages In This Thread
Refreshing re-enters the data in the db again and again. Help? - by El Forum - 05-30-2012, 12:28 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.