Send complex SQL string to another controller/view for print |
(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
Enrique
https://beza.com.ar |
Messages In This Thread |
Send complex SQL string to another controller/view for print - by kabeza - 10-07-2015, 01:41 PM
RE: Send complex SQL string to another controller/view for print - by ignitedcms - 10-07-2015, 01:58 PM
RE: Send complex SQL string to another controller/view for print - by kabeza - 10-07-2015, 02:14 PM
RE: Send complex SQL string to another controller/view for print - by mwhitney - 10-08-2015, 06:13 AM
RE: Send complex SQL string to another controller/view for print - by ignitedcms - 10-07-2015, 02:27 PM
|