There is this below in the 1.4 jobeet manual:
"You can even use |sfContext| as a registry and add your own objects
using the |set()| methods. It takes a name and an object as arguments
and the |get()| method can be used later on to retrieve an object by name:
sfContext::getInstance()->set('job',$job);
$job = sfContext::getInstance()->get('job');
On 05/25/2010 10:51 AM, pghoratiu wrote:
Variables
that need to be persisted across multiple requests have to be stored
in the session as explained in the documentation.
The user won't be signed in when the action where i throw the "if" I
write in my first post, is executed
Also using sfContext directly is a bad practice and should be avoided
as much possible.
What do you mean with "using sfContext directly"?
--
Javi
Ubuntu 8.04 - Symfony 1.3
--
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 [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