Changeset f12dbba
- Timestamp:
- Jul 28, 2018 7:48:22 PM (3 years ago)
- Branches:
- master
- Children:
- b5ed39f1
- Parents:
- 9b9f96d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/susimail/src/src/i2p/susi/webmail/WebMail.java
r9b9f96d rf12dbba 1840 1840 private synchronized SessionObject getSessionObject( HttpSession httpSession ) 1841 1841 { 1842 SessionObject sessionObject = (SessionObject)httpSession.getAttribute( "sessionObject" ); 1843 1842 SessionObject sessionObject = null; 1843 try { 1844 sessionObject = (SessionObject)httpSession.getAttribute("sessionObject"); 1845 } catch (IllegalStateException ise) {} 1844 1846 if( sessionObject == null ) { 1845 1847 sessionObject = new SessionObject(_log); 1846 httpSession.setAttribute( "sessionObject", sessionObject ); 1848 try { 1849 httpSession.setAttribute("sessionObject", sessionObject); 1850 } catch (IllegalStateException ise) {} 1847 1851 if (_log.shouldDebug()) _log.debug("NEW session " + httpSession.getId()); 1848 1852 } else { 1849 if (_log.shouldDebug()) _log.debug("Existing session " + httpSession.getId() + 1850 " created " + new Date(httpSession.getCreationTime())); 1853 if (_log.shouldDebug()) { 1854 try { 1855 _log.debug("Existing session " + httpSession.getId() + 1856 " created " + new Date(httpSession.getCreationTime())); 1857 } catch (IllegalStateException ise) {} 1858 } 1851 1859 } 1852 1860 return sessionObject;
Note: See TracChangeset
for help on using the changeset viewer.