Hello,
I need to get the session lifetime.How can solve this issue in the plugin ?
You can use ini_get("session.gc_lifetime") to get the minimum lifetime. Since session data garbage collection is kind of random, there is no defined maximum lifetime.
ini_get("session.gc_lifetime")
Is zero for never expire??