0
Does anyone know any way to leave a Bean alive even after giving a redirect?
The situation is like this: I am developing a project where, in theory, the user login and the user and password he typed are saved somewhere (probably along with the bean) until he clicks Logout.
I searched for a solution on the internet and I found the JSF Flash but in the flash it does not store the data forever, it loses the data after 2 or more Redirects, I also tried @Conversationscoped from CDI but the bean dies when I give redirect so I don’t know how to keep that bean alive, someone can help me?