session/request scope and logins
843836Aug 11 2004 — edited Aug 12 2004Hi. If anybody has a quick minute, I have a question. I'm employing a bean to give the thumbs up or thumbs down on users accessing pages. I have a central login screen which opens a jsp that calls the bean. Anyways, it feels I'm kinda stuck between two rocks...
1. session scope. Giving the bean session scope means that if I have a failed login, I have to reboot the browser to clear the bean parameters.
2. request scope. This one feels a little smoother but obviously requires a logon everytime the site is visited within a single session.
Is there a way to either clear session bean parameters for a failed login or somehow save "good" session bean parameters...beyond a session? Something tells me the former is the way here...but I can't figure out how yet. Thank you very much for reading this.