Notice
Recent Posts
Recent Comments
Link
- Arawn's Dev Blog
- Outsider's Dev Story
- Toby's Epril
- Benelog
- NHN 개발자 블로그
- SK 플래닛 기술 블로그
- OLC CENTER
- 소프트웨어 경영/공학 블로그
- 모바일 컨버전스
- KOSR - Korea Operating System …
- 넥스트리 블로그
- 리버스코어 ReverseCore
- SLiPP
- 개발자를 위하여... (Nextree 임병인 수석)
- "트위터 부트스트랩: 디자이너도 놀라워할 매끈하고 직관…
- Learning English - The English…
- real-english.com
- 'DataScience/Deep Learning' 카테…
- Deep Learning Summer School, M…
- Deep Learning Courses
민서네집
[웹] 로그아웃 후 뒤로 가기 방지 본문
Spring Framework 를 사용하면 아래와 같이 하면 된다고 하는데, 안해봤다.
http://simsimjae.tistory.com/8
Spring Framework의 Handler Interceptor에서 postHandle() 메서드에서 아래와 같이 했다.
// Cache 방지 (2017-10-22)
if("HTTP/1.1".equals(request.getProtocol())) {
response.setHeader ("Cache-Control", "no-cache, no-store, must-revalidate");
} else {
response.setHeader ("Pragma", "no-cache");
}
response.setDateHeader ("Expires", 0);
[출처] https://www.lesstif.com/pages/viewpage.action?pageId=20775788
'Java' 카테고리의 다른 글
Tomcat Context 간 세션 공유 (0) | 2017.11.02 |
---|---|
Tomcat7 Datasource 설정 (JNDI) (0) | 2017.10.31 |
이클립스 추천 플러그인 (0) | 2017.09.20 |
[이클립스] Server - 실행 시 다른 프로젝트 참조하는 법 (0) | 2017.08.25 |
[이클립스] Server - publishing 없이 서버 구동하기 (0) | 2017.08.25 |
Comments