浏览器禁cookie SessionId

<%@ page contentType="text/html; charset=gb2312" %>
<%
    out.print(session.getId()+"<br>");
    out.print(request.isRequestedSessionIdFromCookie()+"<br>");
    out.print(request.isRequestedSessionIdFromURL()+"<br>");
%>

 将IE隐私调高后,输出结果:

i3kbdxflenwt
false
false

dv6jyvqg7rg4
false
false

1fu2dpoqn6vgv
false
false

你可能感兴趣的:(html,浏览器,IE)