tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: SessionListener does not get enough information
Date Mon, 24 Jun 2002 11:36:58 GMT
Define a class (bean) that store the information
that the user has to confirm. Let this classs
implement the HttpSessionBindingListener
and do the 'rollback' in the valueUnbound() 
method.

> -----Urspr√ľngliche Nachricht-----
> Von: Software AG [mailto:sag@stark-verlag.de]
> Gesendet: Montag, 24. Juni 2002 13:25
> An: Tomcat Users List
> Betreff: SessionListener does not get enough information
> 
> I have a web application that stores some information into a database.
> Now if the "transaction" is not complete (which means the 
> user did not go through a page asking "do you want to save [y/n]?")
all 
> stored data shall be dropped again. I detect this "dropped
transaction" 
> with a SessionListener, since after some time all inactive sessions
are 
> discarded.
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message