marcosvidolin
2/15/2014 - 12:10 PM

Google App Engine HTTP Session

Google App Engine HTTP Session

/**
 * @see http://java.zacheusz.eu/google-app-engine-http-session-vs-jsf-en/394/ 
 */
private void updateSession() {
		 ServletRequestAttributes attr = (ServletRequestAttributes) RequestContextHolder
				.currentRequestAttributes();
		HttpSession session = attr.getRequest().getSession();
		session.setAttribute("forceGaeSessionSerialization",
				System.currentTimeMillis());
	}