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,600 points
942 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,170 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 in GCP by Korak
• 5,820 points
83 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
2,584 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,170 points
2,696 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,170 points
329 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,170 points
4,495 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,170 points
859 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,170 points
903 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP