My Name is Kay....

DIY , 먹방 , 개발 , 육아 , 여행 좋아합니다.
AdBlock 사용시 화면이 정상적으로 노출되지 않습니다.
포스팅 관련 문의 및 개발 문의는 Email : wkzkfmxksi@gmail.com

추가 포스팅이 이뤄지지 않는 블로그입니다. 문의는 wkzkfmxksi@gmail.com 으로 연락주세요.
kay
조회 수 12010 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

크롬에서 Submit() 되어 Form 방식으로

넘어온 데이터가 페이지를 Reload() 하게 되면 사라지는 크롬만의 버그!!!.


몇년된 버그라고 하는데 그닥 고쳐지지 않고 있습니다.


임시방편은 GET 방식으로 값을 받거나 

Reload 대신 다시 폼을 구성하여 다시 Submit() 하는 방법정도...


Test Url : http://www.uhoon.co.kr/test/2514.asp 

 : Submit() 후 Reload 하면 값이 사라집니다.


<!DOCTYPE html>
<html>
<head>
	<title>Chrome Bug - Reload()</title>
	<script src="http://code.jquery.com/jquery-latest.min.js"></script>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<script type="text/javascript">
<!--
$(function() {
	$("#btnReload").on("click",function(){
		location.reload();
	});
});
//-->
</script>
</head>
<body >
<div>
	<form method="post" action="2514.asp" name="frmTest">
		<label for="Data">Send Data:</label>
		<br/>
		<input type="text" name="A" value="AAA"/>
		<input type="text" name="B" value="BBB"/>
		<input type="text" name="C" value="CCC"/>
		<br/>
		<br/>
		<label for="Data">Request Data:</label>
		<br/>
		<textarea id="formData" rows="5" cols="50"><%=Request.Form%></textarea>
		<input type="submit" />
		<input type="button" value="reload" id="btnReload"/>
	</form>
</div>
</body>
</html>


참고 Url : 

https://code.google.com/p/chromium/issues/detail?id=6429

https://bugs.webkit.org/show_bug.cgi?id=23735

http://stackoverflow.com/questions/13476006/javascript-location-reload-is-losing-post-data

TAG •
?
  • ?
    지나가는이 2014.02.03 21:47

    크롬은 참으로 우수한 녀석인데...어찌 이런 버그가 있는지..

    통탄할 따름입니다...--;


  1. SSL/TLS 보안 채널에 대한 트러스트 관계를 설정할 수 없습니다.

    Date2013.02.26 CategoryVB .net Bykay Views17765
    Read More
  2. HTTP 오류 메시지

    Date2013.03.11 CategoryHTTP Bykay Views3833
    Read More
  3. #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

    Date2013.03.29 CategoryMYSQL Bykay Views7133
    Read More
  4. Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash

    Date2013.04.07 CategoryEtc Bykay Views7632
    Read More
  5. The configuration file now needs a secret passphrase (blowfish_secret).

    Date2013.04.24 CategoryMYSQL Bykay Views3697
    Read More
  6. The mysqli extension is missing. Please check your PHP configuration.

    Date2013.05.20 CategoryPHP Bykay Views6069
    Read More
  7. waiting for code.jquery.com

    Date2013.05.31 CategoryJavascript Bykay Views15821
    Read More
  8. IISMANAGER_ERROR_LOADING_PROVIDER_TYPE

    Date2013.06.21 CategoryEtc Bykay Views14410
    Read More
  9. Notice: Undefined index: 변수명.

    Date2013.06.30 CategoryPHP Bykay Views3421
    Read More
  10. 사용자 'sa'이(가) 로그인하지 못했습니다. 이 사용자는 트러스트된 SQL Server 연결과 관련되어 있지 않습니다. (Microsoft SQL Server, 오류: 18452)

    Date2013.07.18 CategoryMSSQL Bykay Views17760
    Read More
  11. 크로스 스레드 작업이 잘못되었습니다. 'xxx' 컨트롤이 자신이 만들어진 스레드가 아닌 스레드에서 액세스되었습니다.

    Date2013.08.30 Categoryc# .Net Bykay Views6056
    Read More
  12. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\파일명 on line 9

    Date2013.09.09 CategoryPHP Bykay Views6775
    Read More
  13. HTTP/1.1 새 세션 실패

    Date2013.10.08 CategoryEtc Bykay Views4999
    Read More
  14. 'TRUNCATE_ONLY'은(는) 인식할 수 없는 BACKUP 옵션입니다.

    Date2013.11.04 CategoryMSSQL Bykay Views3989
    Read More
  15. jQuery 로 폼안의 객체를 가져오지 못하는 경우

    Date2013.11.20 CategoryJavascript Bykay Views2897
    Read More
  16. ADODB.Connection 오류 '800a0e7a' 공급자를 찾을 수 없습니다. 올바르게 설치되지 않았을 수 있습니다. /excel.asp, 줄 16

    Date2013.12.08 Categoryasp Bykay Views8977
    Read More
  17. ASP 페이지를 실행하여 Response 버퍼의 구성된 제한이 초과되었습니다.

    Date2013.12.08 Categoryasp Bykay Views5217
    Read More
  18. 라이브러리가 등록 되지 않았습니다. (HRESULT에서 예외: 0x8002801D (TYPE_E_LIBNOTREGISTERED))

    Date2014.01.06 CategoryMSSQL Bykay Views4955
    Read More
  19. Chrome Bug - Location.reload() 호출 시 Form 데이터가 초기화 되는 문제

    Date2014.01.14 CategoryJavascript Bykay Views12010
    Read More
  20. 문자열을 날짜 및/또는 시간으로 변환하지 못했습니다.

    Date2014.04.17 CategoryMSSQL Bykay Views19848
    Read More
Board Pagination Prev 1 2 Next
/ 2