Default session timeout for a java app engine

0 votes
What is java app engine's default session time out ? Will there be any bad impact if we set session time out to a very long time?
Sep 25, 2019 in GCP by Karan
• 19,570 points
428 views

1 answer to this question.

0 votes

Default session timeout is set to 30 minutes, you can verify it calling getMaxInactiveInterval() method.

Using setMaxInactiveInterval(-1) indicates that the Session should never timeout. Keep in mind that you also need to overwrite the JSESSIONID cookie MaxAge to prevent to lose the Session when the browser is closed. 

The impact depends on the application that you have deployed.

answered Sep 25, 2019 by Sirajul
• 58,210 points

Related Questions In GCP

0 votes
2 answers
+1 vote
2 answers

How to open a port on google compute engine

You need to set the firewall rule ...READ MORE

answered Jul 9, 2019 in GCP by K sagar
1,683 views
0 votes
1 answer

Create a Windows VM instance using Google Compute Engine (GCE).

To create a Windows virtual machine instance ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 58,210 points
1,043 views
0 votes
1 answer
0 votes
1 answer

How do I configure google app engine to serve static content?

It's rather straightforward, you simply outline a static directory in your ...READ MORE

answered Oct 11, 2019 in GCP by Sirajul
• 58,210 points
89 views
0 votes
1 answer

Does Google cloud platform (GCP) offer IaaS ? Or just PaaS?

GCP provides IaaS as well, although it ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 58,210 points
1,996 views
0 votes
1 answer

How do I create a VPCN (Virtual private cloud network) on Google Cloud?

You can connect various GCP resources to each ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 58,210 points
380 views
0 votes
1 answer

Change default expiration time for a dataset.

You can update a dataset's default table ...READ MORE

answered Nov 15, 2019 in GCP by Sirajul
• 58,210 points
235 views