Wouldn't it be
better to prevent the session from timing out? Probably by pinging it
somehow?

Yes, pinging is an option (it's the current workaround). Timeout is
actually not the only problem: sharing a session for distinct operations
is generally a problem.

Ok this is a different problem where cloning a session might make sense.
For the timeout issue I'd rather suggest to add a refresh() method. Like there is for the Lock class for preventing locks from timing out.

Michael

Reply via email to