PHP session never expires (?)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Pierre
Forum Newbie
Posts: 3
Joined: Wed Mar 17, 2004 9:15 am

PHP session never expires (?)

Post by Pierre »

Hi there

I am using PHP 4.3.1, and do not find a way to stop the session using the gc_maxlifetime.

I use ini_set to modify
gc_maxlifetime 30
gc_probability 100
and
use_cookies off
use_trans_id off
cache_limiter nocache

Even after hours the session is still alive :-(

I don't know what I have forgotten. Any idea?
Post Reply