Project

General

Profile

« Previous | Next » 

Revision 4778

Added by daigle about 15 years ago

Check for null session ID when touching session.

View differences:

SessionService.java
145 145
	 *            the id of the session to update.
146 146
	 */
147 147
	public static synchronized void touchSession(String sessionId) {
148
		if (isSessionRegistered(sessionId)) {
148
		if (sessionId != null && isSessionRegistered(sessionId)) {
149 149
			SessionData sessionData = getRegisteredSession(sessionId);
150 150
			sessionData.setLastAccessedTime();
151 151
		}

Also available in: Unified diff