You are viewing limited content. For full access, please sign in.

Question

Question

Invalid form data was sent to the server

asked on July 22, 2020

I'm getting this error when some users are submitting a form through public portal. I think it's a timeout issue but it was my understanding that the session is saved in the database regardless and once submit is pressed it retrieves the info even if the session has timed out.

 

Invalid form data was sent to the server. There is no active session for this submission. This can occur if the previous session is disconnected. [LFF2115-InvalidDataWithInvalidSession]

 

Details:

URL: /Forms/Form/Submit

Error: InvalidDataWithInvalidSession

Date: 7/21/2020 4:16:20 PM (Central Standard Time)

HTTP Status Code: 400

Business Process ID: 0

User: 

IP: 108.225.216.116

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15

Business Process Name: 

 

Stack Trace:

Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException

Message: Invalid form data was sent to the server. There is no active session for this submission. This can occur if the previous session is disconnected. [LFF2115-InvalidDataWithInvalidSession]

   at E_Forms.Controllers.FormController.Submit(FormCollection collection)

   at lambda_method(Closure , ControllerBase , Object[] )

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)

   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4()

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)

 

 

0 0

Replies

replied on July 23, 2020

There are some session data stored in the memory of IIS web application, if the FormsAppPool application is recycled after user open the form and before user submit the form, user will get InvalidDataWithInvalidSession error. Forms 10.4.4 add the ability to recover the fields data user entered when they run into such error (https://support.laserfiche.com/kb/1014169/list-of-changes-for-laserfiche-forms-10-4-4), you can update your Forms server to have the ability to recover form.

1 0
replied on July 23, 2020

This is the version of forms I'm running, Laserfiche Forms Professional Version 10.4.4.444

0 0
replied on August 23, 2020 Show version history

Did you see the "Recover form" action when you ran into this error?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.