A. A session key value is exchanged across the network.
B. A session key never passes across the network.
C. A session key is used as the key for asymmetric data encryption.
D. A session key is used as the key for symmetric data encryption.
第1题:
在一个JSP页中,session=true是默认值。()
第2题:
第3题:
下列选项中,关于page指令中指明需要内置Session对象的设置是()。
A.session=”false”
B.session=”0”
C.session=”1”
D.session=”true”
第4题:
GivenanHttpServletRequestrequestandanHttpServletResponseresponse:41.HttpSessionsession=null;42.//insertcodehere43.if(session==null){44.//dosomethingifsessiondoesnotexist45.}else{46.//dosomethingifsessionexists47.}Toimplementthedesignintent,whichstatementmustbeinsertedatline42?()
A.session=response.getSession();
B.session=request.getSession();
C.session=request.getSession(true);
D.session=request.getSession(false);
E.session=request.getSession("jsessionid");
第5题:
6、已知列表 lst=[1,2,3,4,5] ,则表达式 sorted(lst, reverse=True, key=lambda x:x%5) 的结果为______________.
第6题:
要在session对象中保存属性,可以使用以下哪个()语句。
A.session.getAttribute(“key”,”value”);
B.session.setAttribute(“key”,”value”);
C.session.setAtrribute(“key”);
D.session.getAttribute(“key”);