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

Is we dont need to clear the message? #38

Closed
aalfiann opened this issue Jan 26, 2019 · 1 comment
Closed

Is we dont need to clear the message? #38

aalfiann opened this issue Jan 26, 2019 · 1 comment

Comments

@aalfiann
Copy link

Just want to know about this flash messages,

I have create some test with this library and this is working fine,

but I can not get the message twice, actualy i didn't clear the message.

then i check the message with hasMessage('test') function and the result is null.

Is we dont need to clear the message? is it already cleared as default? or this is a bug?

Where is the session gone?

Thanks.

@akrabat
Copy link
Member

akrabat commented Jan 27, 2019

Flash messages are automatically cleared, so that they only appear on the following request and never on any subsequent requests. If you need it to persist longer, then use a normal session variable.

@akrabat akrabat closed this as completed Jan 27, 2019
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