how long a default session stay in php

default session time 1440 sec.

we can change it by
$garbaze="14400";
ini_set(session_gc_maxlifetime,$garbaze);

default session time 1440 sec.

we can change it by
$garbaze="14400";
ini_set(session_gc_maxlifetime,$garbaze);

thanks for your information......

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.