存:
User user=new User();
session["USER"]=user;

取:
User u= (User ) session["USER"];

相关文章: