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,610 points
1,637 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
• 59,230 points

Related Questions In GCP

0 votes
1 answer

GCP calls OOMKiller for java app however it doesn't consume max allowed memory

As per the log file there are ...READ MORE

answered Apr 6, 2022 in GCP by Korak
• 5,820 points
448 views
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 10, 2019 in GCP by K sagar
3,653 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
• 59,230 points
4,209 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 Oct 11, 2019 in GCP by Sirajul
• 59,230 points
811 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
• 59,230 points
6,526 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
• 59,230 points
1,453 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
• 59,230 points
1,520 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP