Save documentcontext

I have a very large web survey form, since it so long most users get web session time out problem. I like to ask users to SAVE the current work frequently by A SAVE button. I don’t want to use a @command(filesave)/agent /$return since these method always close current form and return a new page.What I did is: creat a buton, when Click on it, a background agent will be called by AJAX call and save the current doc (documentcontext doc), then return a ALERT ("Your work saved!). In this way, the form never close. But the problem is, the user input never saved! That means call on getdocumentcontext.save(true, false)never works! Any help?

Thanks,

George

Subject: Save documentcontext

I do not think documentcontext.save is not working properly. The problem that i see when your agent runs at the backend the web session or document session no longer there. Suggest create a javascript setTimeout()then call the agent.