* Sets the timeout to now + minutes-to-live.
* This method is invoked automatically if a client is viewing
* a page that involves the session, if possible.
*/
public void refresh() {
SessionManager m = ThreadContext.getSessionManager();
synchronized (m) {
m.refreshBefore(this);
updateTimeout();
m.refreshAfter(this);
}
}