Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

session/request scope and logins

843836Aug 11 2004 — edited Aug 12 2004
Hi. 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2004
Added on Aug 11 2004
11 comments
491 views