日期:2014-05-16 浏览次数:20360 次
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <% request.getSession().setAttribute("user","wangfeng"); %> 用户已经登录
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <% request.getSession().removeAttribute("user"); %> 用户已经退出登录