1
votes

I host a PHP web app on google cloud and protect it with Identity-Aware Proxy (IAP).

Now, I'm running into the timeout issue because IAP doesn't seems to follow php session time.

Following is the phpinfo() for session timeout.

php information

The app only last around 40 mins and ask the user to login again or get 401 error when accessing the server from Ajax.

I need it to be last for around 4-8 hr. Please help.

1

1 Answers

1
votes

This is a known issue. See https://cloud.google.com/iap/docs/sessions-howto for the workaround, or follow https://issuetracker.google.com/issues/69386592 for updates on a permanent solution.