-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[NFR] Implement Phalcon\Flash\Session::isset(). #1342
Comments
Why do such a thing to use flashsession? Queues may be more meet your needs. |
Sorry, I don't quite understand what you mean. Can you provide a code snippet? |
Can direct use of the session, According to the description of the document \phalcon\flash not suitable for to do it.
|
I wanted to use ->flashsession because it auto-removes message once it's been accessed. I could certainly do it manually with ->session, but..... I am lazy :-) And it's not a bad method to have in API. You disagree? |
I am also very lazy :) Let \Phalcon\Session implementation automatically deleted, how? |
So, what's the verdict? |
I'll try to implement it once I fix the other bugs :-) |
@temuri416 Could you please check if it works for you? |
Sure, I'll do that soon as I get a free minute. ... and while I have your attention - could you please comment on #1367 NFR, please let me know what you think. Thanks a lot. |
Implemented in 1.3.0 |
Currently, I can do this in a controller:
This will populate $_SESSION['_flashMessages']['postData'] with contents of $_POST.
Implement Phalcon\Flash\Session::isset():
Thank you!
The text was updated successfully, but these errors were encountered: