echo "<script>history.back(-1);</script>";
이렇게 화면을 뒤로 넘겼는데 디비 업데이트 한게 안나와요....ㅜ.ㅜ
에프 5번을 눌러야지 업데이트 한게 나오는데 이전화면으로 넘겨서 새로고침 하는 방법이 없나요??
이렇게 화면을 뒤로 넘겼는데 디비 업데이트 한게 안나와요....ㅜ.ㅜ
에프 5번을 눌러야지 업데이트 한게 나오는데 이전화면으로 넘겨서 새로고침 하는 방법이 없나요??
댓글 5개
head 사이에
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="expires" content="MON, 01 apr 2002 00:00:01 GMT">
아니면..
꼭 히스토리 안쓰셔도 되면
location.href 로.. url = url + "?m="+ math.random() 랜덤값 붙여서 넘겨주시는건 어떤가요
검색해보니.. 다음 코드도..
<?
header("Cache-Control:no-cache");
header("Pragma:no-cache");
?>
만약 위의 코드로 되지 않는다면,
<?
header("Expires: Mon 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d, M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
또는 <meta> tag로,
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="wed, 04 jul 1973 16:00:00 gmt">
[출처 : php.net]
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="expires" content="MON, 01 apr 2002 00:00:01 GMT">
아니면..
꼭 히스토리 안쓰셔도 되면
location.href 로.. url = url + "?m="+ math.random() 랜덤값 붙여서 넘겨주시는건 어떤가요
검색해보니.. 다음 코드도..
<?
header("Cache-Control:no-cache");
header("Pragma:no-cache");
?>
만약 위의 코드로 되지 않는다면,
<?
header("Expires: Mon 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d, M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
또는 <meta> tag로,
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="wed, 04 jul 1973 16:00:00 gmt">
[출처 : php.net]
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기