we all know that the session (as well as other components) is not
initialized on the error pages
(as beforeFilter, afterFilter are not triggered)

only beforeRender() is called - but on error pages i would like to
have access to some session infos

so what is the best way to include the session on ALL pages? i tried a
lot of things, but didnt work out, like initializing it in __construct
() or manually in beforeRender()

this bothered me for a long time
i would even prefer to beeing able to start session in bootstrap -
before anything else
this would be way more handy - you could define a constant UID which
you could use in validation ($validation = ....) and other arrays that
are "hardcoded" in the classes (otherwise you would have to use
__construct() and $this->validation).

so is there a quick fix for the above?

or does even the second approach work somehow?
should be possable somehow - core.php is read in before with the
neccessary options - i guess
thx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to