Mercurial Hosting > luan
changeset 741:9f58b398a892
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 Jul 2016 03:56:18 -0600 |
parents | 6871ba08d521 |
children | 5578541125ea |
files | http/src/luan/modules/http/HttpServicer.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
diff -r 6871ba08d521 -r 9f58b398a892 http/src/luan/modules/http/HttpServicer.java --- a/http/src/luan/modules/http/HttpServicer.java Thu Jul 07 19:20:26 2016 -0600 +++ b/http/src/luan/modules/http/HttpServicer.java Mon Jul 11 03:56:18 2016 -0600 @@ -55,13 +55,13 @@ throw new LuanException( "module '"+modName+"' must return a function" ); if( Boolean.TRUE.equals(per_session_pages.rawGet(mod)) ) { HttpSession session = request.getSession(); - LuanState sessionLuan = (LuanState)session.getValue("luan"); + LuanState sessionLuan = (LuanState)session.getAttribute("luan"); if( sessionLuan!=null ) { luan = sessionLuan; } else { DeepCloner cloner = new DeepCloner(); luan = (LuanState)cloner.deepClone(luan); - session.putValue("luan",luan); + session.setAttribute("luan",luan); } fn = (LuanFunction)PackageLuan.require(luan,modName); } else {