Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting global variable unsuccessful #14

Open
adamnoto opened this issue Apr 16, 2013 · 1 comment
Open

setting global variable unsuccessful #14

adamnoto opened this issue Apr 16, 2013 · 1 comment

Comments

@adamnoto
Copy link

I was creating a global variable in a conditional if, after that having the redirect inside that function. So, there is no call on display() whatsoever in the first place.

Later, I call render. But, the variable that I set is NULL. If, I display at the first place, it is there, but if I refresh again, it missing. Even though the global parameter is TRUE.

@markitus83
Copy link

Hi, are you resolve this problem?? I'm trying to pass some global variable between views and I can't. In the first controller I set a globla variable and I can see it in the first view, but, when in the second controller I try to get this variable and empty are showed,

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants