property demo

X-Application Version: 3.1.3
Tamino Version : 3.1.1
Platform : Win2k
WebContainer : Tomcat 3.3
JDK Version : 1.3.1

I found a problem in demo property of the xapplication in login page .
when we enter an incorrect userid it seems that the cust document does not be cleared and we have the last correct userid in it and the application assumes that we enter a correct userid (because notexist does not work in this case !)
what should we do on this situation to clear the last cust document ?



a possible solution/bypass is discussed in following topic of the community:



you are right. That is a problem of the property demo example because it was not designed for the following use case:
- User A opens a Internet Explorer Window and requests the login page.
- User A logs in with id ?User 1?
- User A works with the application
- User A requests the login page again
- User A logs in with id ?User 2?

If User A would open a new Internet Browser, the second login would be ok. In this case, a new session is established and the old data for the user login are not available.

If you want to guaranty that a user can change the login within the same session, would should use a plugin solution with handles the login logic. Thorsten sent a proposal for such a plugin.