Timeout for data entry screens: Help!

55 views
Skip to first unread message

Davidiam

unread,
Jan 29, 2021, 8:42:41 AM1/29/21
to web2py-users
2.18.5-stable+timestamp.2019.04.08.04.22.03
(Running on Microsoft-IIS/10.0, Python 3.6.8) 
 
Hello,

We built some web2py applications and we are now getting feedback from the users that if they don't save their data entry screen data within about 10 minutes, that the save fails and they have to re-enter all their data.  As they often get interruptions while entering data, this is becoming a bit of a problem.

Can this "timeout" be modified to give them more time?  Is this coming from web2py or would this me more an infrastructure issue?

Thanks in advance for any replies!
David

Massimiliano

unread,
Jan 29, 2021, 10:11:02 AM1/29/21
to web...@googlegroups.com
You can set:

auth.settings.expiration

Value are in seconds. So 86400 is one day,



--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/c389ecc4-0693-438d-ae89-ef01660dfb34n%40googlegroups.com.


--
Massimiliano

Massimiliano

unread,
Jan 29, 2021, 10:13:15 AM1/29/21
to web...@googlegroups.com
Reading better you message, I'm not sure that auth.settings.expiration is what you need. 
Sorry
--
Massimiliano

John Bannister

unread,
Jan 29, 2021, 10:17:33 AM1/29/21
to web...@googlegroups.com
What database are you using?

Dirk C

unread,
Feb 1, 2021, 4:03:24 AM2/1/21
to web2py-users
database = Microsoft SQL Server

Op vrijdag 29 januari 2021 om 16:17:33 UTC+1 schreef eudor...@gmail.com:

Davidiam

unread,
Feb 5, 2021, 2:11:04 AM2/5/21
to web2py-users
Thanks Massimiliano, I will ask the developer if he can try that.  

We are currently exploring another option using ajax to save all changes immediately.  If a form field is changed, it is sanved immediatel via an ajax call.

I suspect the timeout may be coming from our Singe Sign-On framework, so we need to check that as well.  

Kind Regards,
David

Reply all
Reply to author
Forward
0 new messages