Welcome Guest, Not a member yet? Register   Sign In
Send complex SQL string to another controller/view for print
#3

(10-07-2015, 01:58 PM)iamthwee Wrote: Not quite sure I understand... Are you using sessions. If a user has an authenticated session then can only access certain controllers, regardless of the sql generated.

Yes, I use sessions because I've implemented IonAuth, and I use also for storing messages through views or page reloads
My problem is not to restrict users to certain controllers, which (with IONAuth) I can

My problem is that I don't want to copy the same code to generate the filtering sql in another controller/view just for printing the results. I'd like to find an easy/secure way to share that generated sql code between controllers/views

Hope you've understood
Reply


Messages In This Thread
RE: Send complex SQL string to another controller/view for print - by kabeza - 10-07-2015, 02:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB