I have a small php example at http://codepad.org/EW9vh8sF .
It takes two variables, start and end, and returns them back to the same php file, which then displays the two variables again.
When using the "Save As ..." option in Chrome (version 29.0.1547.57 m) and selecting "Web Page, HTML Only", the saved file contains the default values ββfor my two variables.
It seems to me that Chrome actually reloads the page without sending the previously passed variables as POST, and then saves the reloaded page with the default values.
Firefox (version 24.0) successfully saves the page. Using Chrome and saving the "Web Page Shutdown" is also successful - my new update variables are stored in an html file.
When I changed the use of GET instead of POST, it works as intended, even on "HTML only", but it is not a convenient solution.
This is tested on different computers with different versions of browsers, as well as on different web servers. The behavior is the same regardless of platform.
Is there anything I can do programmatically to change this behavior?
google-chrome
Stoffisimo
source share