What is the easiest way to set up a session that only expires when the
browser is closed?
session_set_coo kie_params(0);
Make sure to do this before session_start() is called. PHP defaults
to this session cookie lifetime unless it is changed in the ini file.
>What is the easiest way to set up a session that only expires when the
>browser is closed?
>
session_set_coo kie_params(0);
Make sure to do this before session_start() is called. PHP defaults
to this session cookie lifetime unless it is changed in the ini file.
Comment