Hi,

I've got a layout:

[some html]
[some php]
<?php include_component('foo', 'foo1') ?>
<?php include_component('foo', 'foo2') ?>
[some html]
<?php include_component('foo', 'foo3') ?>
[some random code]

The problem is that all components needs some user data. I've got an
user settings table and I need to SELECT the same user data in each
component.

As a result of such br00ken design sometimes I need to SELECT the same
data three, four times (sometimes in action).

I tried to write an init component that fetches all data and stores it
in as session variables, but this works only for authenticated users.

Is there a way to store variable in component that would be visible
for other components and for action?

Best regards,
Michal

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to