I have a thank you page that opens up when a new document is created. It launches OK but kicks the user back to a page that displays the following comment:Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
This should bring the user back to the page before starting to create a new document. Instead, the URL does not even go to that page.
When I do refresh the error message page it takes the user to the document when it was in creation mode which is only one page back. I tried different values in the history.back() code line but no difference. Is there a way to have code that sends the user to a specific view name?
Here is what I have in the JS events of the thank you page:
onLoad event code:
autoClose()
JSHeader event code:
function closeWindow() {
history.back(-2)
}
Can someone tell me where correction are required to fix this?
Thanks,
Dan