Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By cdhgold
#815456
Our developers are accessing Processmaker via the API from our application and they are wanting to leave a session open / active for multiple days.

I have already increased the session timeout in php.ini to a ridiculous 30 days and restart apache but the session that is established via the API still times out after approx 30 minutes.

I have made the suggestion of using cookies instead but until they figure that out I still need a way to increase the timeout.

I have attached a scrubbed out copy of the test index.php

please help.
User avatar
By amosbatto
#815472
You forgot to attach the file.
You can increase the maximum lifetime of your oAuth2 access token, by changing line 1033 in processmaker/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:
Code: Select all
            header('Access-Control-Max-Age: 86400');

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]