package com.nd.listener; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; import com.nd.bean.Admin; import com.nd.util.Constants; public class SessionListener implements HttpSessionListener{ public void sessionCreated(HttpSessionEvent arg0) { } public void sessionDestroyed(HttpSessionEvent arg0) { Admin user = (Admin) arg0.getSession().getAttribute(Constants.USER_SESSION); if(user != null && user.getUsername().equals(Constants.loginuser)){ Constants.loginuser = ""; Constants.loginlogid = null; } } }
最近下载更多
FF加菲猫 LV4
2月13日
liuchang183 LV5
2023年12月12日
dj931127 LV4
2023年11月22日
ewan007 LV29
2023年4月7日
neuifgvf LV2
2023年3月19日
SecretLj LV3
2023年2月27日
忧麦紫 LV18
2023年2月24日
ningningnn LV3
2023年2月23日
北方菜 LV11
2023年2月9日
1755754535 LV5
2022年12月27日