Using session data within a model |
(02-12-2020, 06:01 PM)dave friend Wrote: Since you have the $session object in your controller you could also pass it to the model when the model is constructed. This was going to be my fallback method if I was unable to find another approach. I read with interest that you highlight this as a good habit to get into. You've given me some really food for thought. Thank you for taking the time to respond. |
Messages In This Thread |
Using session data within a model - by Fido L Dido - 02-12-2020, 05:14 AM
RE: Using session data within a model - by InsiteFX - 02-12-2020, 01:25 PM
RE: Using session data within a model - by Fido L Dido - 02-13-2020, 04:47 AM
RE: Using session data within a model - by dave friend - 02-12-2020, 06:01 PM
RE: Using session data within a model - by Fido L Dido - 02-13-2020, 04:50 AM
RE: Using session data within a model - by Fido L Dido - 02-13-2020, 08:01 AM
RE: Using session data within a model - by Fido L Dido - 02-13-2020, 09:14 AM
RE: Using session data within a model - by dave friend - 02-13-2020, 09:48 AM
|