A、A.session.setAttribute(i,”I”) B、B.session.setParameter(“I”,i) C、C.session.setAttribute(new Integer(i),”I”) D、D.session.setAttribute(“I”,new Integer(i))
A、A.session.setAttribute(i,”I”) B、B.session.setParameter(“I”,i) C、C.session.setAttribute(new Integer(i),”I”) D、D.session.setAttribute(“I”,new Integer(i))
A、HttpSession session=request.getSession(true) B、HttpSession session=request.getHttpSession(true) C、HttpSession session=response.getSession(true) D、HttpSession session=response.getHttpSession(true)
A、Session的有效期时长默认为90秒,且不能修改 B、Session的有效期时长默认为20分钟,且不能修改 C、Session ID可以存储每个用户Session的代号,是一个不重复的长整型数字 D、以上全都错