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
• 3,250 points
27 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
• 29,340 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
114 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
18 views
0 votes
1 answer

Creating password for a windows instance on GCP

Windows Server instances use password authentication instead ...READ MORE

answered Sep 24 in GCP by Sirajul
• 29,340 points
44 views
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 2 days ago in GCP by Sirajul
• 29,340 points
11 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
• 29,340 points
50 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
• 29,340 points
13 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
• 29,340 points
40 views
0 votes
1 answer