Welcome Guest, Not a member yet? Register   Sign In
Is it okay to leave a controller without a view?
#1

[eluser]rvillalon[/eluser]
I have a controller for error logging and is accessible by the browser. For example, I can access it and log an error by going to:

http://www.mywebsite.com/error/save/acce...tl_details

The last three parameters are used as follows:
access_key : i match this in my config file to make thwart unwanted requests
error_id : unique id to store
addtl_details : additional error description

Once it validates the information, I save into a database but I don't have any "VIEW" set up. It simply returns a blank page.

Is this okay?

Also, does anyone have any tips on how I might improve this?


Messages In This Thread
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 12:35 AM
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 12:40 AM
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 02:02 AM
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 02:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB