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 in GCP by Karan
• 6,670 points
82 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 by Sirajul
• 41,000 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 in GCP by K sagar
209 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 in GCP by Sirajul
• 41,000 points
118 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 in GCP by Sirajul
• 41,000 points
26 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 in GCP by Sirajul
• 41,000 points
190 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 in GCP by Sirajul
• 41,000 points
50 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 in GCP by Sirajul
• 41,000 points
32 views