#endif\r
}\r
\r
-SessionCache::SessionCache(const DOMElement* e) : m_cacheTimeout(60*60*8)\r
+SessionCache::SessionCache(const DOMElement* e, unsigned long defaultTimeout) : m_cacheTimeout(defaultTimeout)\r
{\r
if (e) {\r
const XMLCh* tag=e->getAttributeNS(NULL,cacheTimeout);\r
if (tag && *tag) {\r
m_cacheTimeout = XMLString::parseInt(tag);\r
if (!m_cacheTimeout)\r
- m_cacheTimeout=60*60*8;\r
+ m_cacheTimeout=defaultTimeout;\r
}\r
}\r
}\r