The default time for a Cookie to expire is 30 minutes
Interviews5 answers
What is the timeout of Cookie?
5 Answers
Rajeev KumarPosted Apr 17, 2023, 7:22 AM EDT
30 minute is the default timeout of cookies ,we can set timeout by using expire keyword
nithin rajPosted Oct 22, 2018, 6:50 AM EDT
The default Expires value for a cookie is not a static time, but it creates a Session cookie. This will stay active until the user closes their browser/clears their cookies. You can override this as required.
Abhijit SahooPosted Jul 4, 2018, 6:57 AM EDT
The default Expiration Period for a Cookie is 30 minutes and the default Expiration Period for a Session is 20 minutes.
Deepak VermaPosted May 21, 2018, 12:06 AM EDT
The default time for a Cookie to expire is 30 minutes.
Rajesh GamiPosted Feb 25, 2018, 11:15 PM EST



