Shane Beasley wrote:
Jürgen Hoffmann wrote:

 Hi Shane,

Hi there. Thanks for replying!

 How do you store the modifications the user has made? Within the
 Users temporary storage, or within a pull tool?

Actually, neither; I just added fields to the TurbineUser object itself. (This is a fairly simple webapp, and so I kept the schema simple, too.)

The key is TorqueUser.valueUnbound(HttpSessionBindingEvent hsbe) here. This method is called whenever a session times out. The default behavior of this method is to save the user object to permanent storage which both influences the added fields and all stuff set via setPerm().

So if you want to change the behavior override this method.

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to