Page 1 of 2

Profound UI Mobile Client

Posted: Tue May 22, 2018 11:57 am
by JPG
Hello,
We are accessing with your mobile application (Profound UI Mobile) to an application we have developed
(see attached image)
After a short period of time of inactivity (5 minutes more or less), we get this message on our mobile "Your session has timed out."

Can we increase or disable this time out period?

Our current configuration is as follows:

File: /www/profoundui/conf/httpd.conf

#The following control session timeout and should all be set to the same value.
SetEnv PUI_TIMEOUT 300
MaxPersistentCGITimeout 300
Timeout 300

File: /www/profoundui/htdocs/profoundui/userdata/custom/js/settings.js

pui["language"] = "es_ES";
pui["runtimeText"]["es_ES"]["next link text"] = "Siguiente";
pui["runtimeText"]["es_ES"]["sign on"] = "Entrar";
pui["runtimeText"]["es_ES"]["pui sign on"] = "Acceso";
// Send keep-alive request every 10 minutes
pui["client side timeout"] = false;
pui["keep alive interval"] = 120;
// pui["refresh interval"] = 10; // refresh the page after 10 screens are rendered

Thanks in advance,

Juan Antonio PĂ©rez

Re: Profound UI Mobile Client

Posted: Tue May 22, 2018 1:54 pm
by Megan
Hello JPG,

We're sorry to hear that you are having issues with this! Your settings.js file may not be properly linked to your app. The Mobile Client does not automatically pull in the custom/js folder, so you'll need to link the settings.js file either in the Rich Display file by using the external js screen property or by linking it in the start.html. Could you please try linking your settings.js file and see if it resolves your issue?

Thanks,

Re: Profound UI Mobile Client

Posted: Wed May 23, 2018 1:02 pm
by JPG
Hi.
Step in the attached images all the sites where we have put the indicated, and it does not work.
Tks

Re: Profound UI Mobile Client

Posted: Wed May 23, 2018 1:11 pm
by Megan
Hello JPG,

I'm sorry this did not work for you. Have you tried opening the app more than once? When I had attempted this change, I had to reopen the program a second time for it to pull in the JavaScript. Additionally, may I know what model phone you are using and which OS it is running? For example, I have an iPhone SE running OS versions 11.3.1. This additional information will allow me to investigate the issue better.

Thanks,

Re: Profound UI Mobile Client

Posted: Mon Sep 24, 2018 7:11 am
by JPG
Hello
We have revisited the functionality of this application and it does not work as we want.
The application is active and after 15 minutes it shows the warning: Profound UI Mobile Client: Your session has timed out.
This causes the end user to have to logon again.
I pass the requested data and an attached image of the screen properties where you can also see that we use script for automatic refresh.
Model: LG-M250n
Android version: 7.0
Kernel: 3.18.35

Re: Profound UI Mobile Client

Posted: Tue Sep 25, 2018 9:24 am
by Scott Klement
The mobile client does NOT use the start.html file from the IFS. You'll need to point the "external javascript" property of your display file to the settings.js file in order to download/run it in your mobile app.

Re: Profound UI Mobile Client

Posted: Tue Sep 25, 2018 10:21 am
by JPG
Sorry, Scott.
I do not know if I understood you, but in my display file (see image) if I use the "external javascript" property.
You mean that?

Re: Profound UI Mobile Client

Posted: Sat Sep 29, 2018 8:45 am
by Jose Manuel
Sorry for the intrusion, just a question for Juan.
Do you work in Hospitals NIsa Sevilla ?? I am in Seville. It is good to have countrymen in these forums developing in profound

Re: Profound UI Mobile Client

Posted: Mon Oct 01, 2018 11:31 am
by JPG
Te he respondido en privado...

Re: Profound UI Mobile Client

Posted: Mon Oct 15, 2018 2:57 am
by JPG
Sorry, Scott.
I do not know if I understood you, but in my display file (see image) if I use the "external javascript" property.
You mean that?