- Moderator | 4693
If the variable would be in the URL, then use persistent parameters in
BasePresenter. Otherwise, i would use
Nette\Http\Session, or you can even store data in user's
If you tell us what kind of data for what kind of methods, we would be able to give you a better answer.
- Member | 18
Thank you for the answer. I want to set a some environment variables for enabling and disabling function level profiling. I am currently using Identity object for storing those variable. I wanted to check if there is an other application object besides Identity object for storing such information.
I was not sure if storing application level variable in Identity object was a best practice.