void sessionTimeout=(int timeout)

Sets the timeout, in seconds, for sessions of this HttpServer. The default timeout is 20 minutes.

Source

set sessionTimeout(int timeout);