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

Question

Question

PageExpired error when using lookups through javascript

asked on March 6, 2018

Hi,

I am seeing a number of PageExpired errors in the Forms/App/Operational event log on the forms server.  This seems to be correlated with lookups not working for a user (which are being triggered via javascript as follows).  

  $(document).on("lookupcomplete", function(event) {
    
    if (event.ruleId == lookupID) { .... }

 

Here is the error:

 

[308]: The requested page is no longer available. [LFF308-PageExpired]

Details:
URL: /Forms/form/lookup?formId=84
Error: PageExpired
Date: 6/03/2018 11:46:07 a.m. (New Zealand Standard Time)
HTTP Status Code: 410
Business Process ID: 0
User: ylai
IP: 222.153.223.188
Browser: Mozilla/5.0 (Linux; Android 7.0; SM-T825Y Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/64.0.3282.137 Safari/537.36
Business Process Name: 

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: The requested page is no longer available. [LFF308-PageExpired]
   at E_Forms.Controllers.FormController.Lookup(String data, Int32 ruleId, Int32 formId, String uniqueid, Int32 storeNum, Boolean startEvent)

 

The user does not report having left the app idle for an extended length of time.  Are there any other conditions that anyone knows that this error would occur and where would I be able to extend the timeout (the forms timeout is currently set to a long interval ~ 1 day)

 

many thanks,

Ian

0 0

Answer

SELECTED ANSWER
replied on February 23, 2024

This appears to have fixed this issue:

Recommendation of Laserfiche engineer via DocuNav (VAR) support

If you are on version 11 Update 4 or later, you can follow these steps: 

1.    Open the Forms configuration site.
2.    In the Advanced Options section, locate "FormsPerSession."
3.    Update the value to something like '20' or your preferred number.

If you are unable to make the change through the Forms configuration site, you can 
alternatively update the value in the cf_options table using the following query:

update [dbo].[cf_options]
set optionvalue= '20' where optionname='FormsPerSession'

After making this adjustment, please restart IIS and refresh the Form page to ensure the changes take effect. 
 

0 0

Replies

replied on February 22, 2024

Hey Ian,

 

Did you ever figure this one out?  I'm seeing the same thing and have been for years.

0 0
replied on February 23, 2024

Hi Eric,

I noticed you have filed a support case via your VAR, our support team will follow up your question soon.

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

Sign in to reply to this post.