1、session,最常用的一种
2、Cookie
3、地址重写
4、隐藏域(表单提交SessionID)