what is session id and when does it expire
hi all
i am using sessions in my site . i am a bit confused about i know definition of session id .but as far as i know it should be allocated new each time a new session is started.
1?) can smbdy tell me when do we say that a new session is started ..is it when we close and open browser window ..
is it when we press refresh button
or is it dependent on some session timeout factor
2?> how is garbage collector related to session timeout
3?> how is cookie expire time related to session timeout
as
in my case i set session.gc_maxlifetime=1 sec
just for testing purpose and did not write anything in session file for 1 minute so that garbage collector remove my old session file but
even after 3 minutes my old session data was retained
what can be the reason behind it
please tell
nidhi
__________________
nidhi
|