Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Document Expired when viewing source of post.

  • 2 trả lời
  • 18 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi mgwalk

more options

When I post data and try to view source of the resulted document I get document expired.

Document Expired This document is no longer available. The requested document is not available in Firefox's cache.

   As a security precaution, Firefox does not automatically re-request sensitive documents.
   Click Try Again to re-request the document from the website.

This always worked before. It no longer works in these versions. Fire Fox 32.0, 32.0.1, 32.0.3

I Post this with submit button I am Posting the the current page. I am behind a username and password page This page is not SSL

The view source works in non protected directory.

When I click "Try Again" it brings up the non submitted data.


Sample code:

<?
if(isset($_POST) && sizeof($_POST) > 0)
	{
	print_r($_POST);
	exit();
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Test Document Expire Error</title>
</head>
<body>
    <form action="" method="post"  id="testForm">
        <input type="hidden" id="field1" name="field1" value="1" />
        <input type="hidden" id="field2" name="field2" value="2" />
        <input type="hidden" id="field3" name="field3" value="3" />
        <input type="submit" value="Process " id="proccess" /><br /><br />
    </form>
</body>
</html>
When I post data and try to view source of the resulted document I get document expired. Document Expired This document is no longer available. The requested document is not available in Firefox's cache. As a security precaution, Firefox does not automatically re-request sensitive documents. Click Try Again to re-request the document from the website. This always worked before. It no longer works in these versions. Fire Fox 32.0, 32.0.1, 32.0.3 I Post this with submit button I am Posting the the current page. I am behind a username and password page This page is not SSL The view source works in non protected directory. When I click "Try Again" it brings up the non submitted data. Sample code: <pre><nowiki><? if(isset($_POST) && sizeof($_POST) > 0) { print_r($_POST); exit(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Test Document Expire Error</title> </head> <body> <form action="" method="post" id="testForm"> <input type="hidden" id="field1" name="field1" value="1" /> <input type="hidden" id="field2" name="field2" value="2" /> <input type="hidden" id="field3" name="field3" value="3" /> <input type="submit" value="Process " id="proccess" /><br /><br /> </form> </body> </html></nowiki></pre>

Được chỉnh sửa bởi cor-el vào

Tất cả các câu trả lời (2)

more options

meta http-equiv="Pragma" content="no-cache"

more options

Still get the Document Expired under password protected directory only. Thanks for trying to help guigs2.