Problem to save web page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a dynamic generated HTML page in a pop-up window.
When I try to save it, I got "This web page may not save correctly. Would you like to save it anyway?". I clicked on "Yes".
When I open the saved html file, it's not what's shown in window. It seems like IE called the URL again, without parameters, and saved the error message returned from server
 
When you go to File...Save As... in IE, try changing the Save as Type to Web
Archive or .mht file type.

--

Jon R. Kennedy
Charlotte, NC, USA
(e-mail address removed)

ozhuwy said:
I have a dynamic generated HTML page in a pop-up window.
When I try to save it, I got "This web page may not save correctly. Would
you like to save it anyway?". I clicked on "Yes".
When I open the saved html file, it's not what's shown in window. It seems
like IE called the URL again, without parameters, and saved the error
message returned from server.
 
Thanks for reply

After some research, I found that the problem is caused by "POST" form method, which generates the dynamic page
When IE saves a web page, it actually reloads the URL and get reply from server. When "POST" method is used, no parameter is in the URL, so wrong content is returned and saved

I guess same reason caused problem described in "DANGEROUS Export to Excel problem/bug with IE
". IE should provide a way for user to save page generated by POST method, maybe don't reload the URL at all

By the way, after I changed form method to GET, it works well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top