May 7, 2013

Recommended max PHP session length

Vital’s Questions:

In terms of security (or other issues), what are the general recommendations / rules of thumb re PHP session length. A client with an Ecommerce website requested a 3day session length.

There are no general rule of thumb for this, depends on application build. For example:

  1. For bank website: 15/30 Seconds might be appropriate
  2. For a simple CMS application: 15 minutes long session is good enough.

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+


Please fill the form - I will response as fast as I can!