|
@@ -5,6 +5,7 @@ import javax.servlet.http.HttpSession;
|
|
|
public class LifeCenterSessionController {
|
|
|
public static void setSession( HttpServletRequest request, String key, String value ) {
|
|
|
HttpSession session = request.getSession( true );
|
|
|
+ session.setMaxInactiveInterval( 1800 );
|
|
|
session.setAttribute( key, value );
|
|
|
}
|
|
|
|