Hi

I have a mysql trigger that is wanting a dynamic variable which my
symfony app session would have after login. The logged in user id. The
app can not be used without logging in.

I have a filter that comes after the security filter which sets this
variable with a mysql query (SET @user_id=$user_id). Since the filter
is run on all page calls I thought this would be a good place and
trigger testing inside the filter showed the trigger worked using this
mysql variable. I also have persistent connection set to true.

Is this filter the best place to put it? Should I try to set the
variable inside the symfony (propel?) method that makes a connection?
Though I do not know where that would be.

Any tips, pointers or clues would be very appreciated.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to