Re: [PHP] own session_name gc

2002-10-08 Thread Marek Kilimajer
$sess_session_name affects the name of cookie, get, or post var. If you wish to use it, you need to also reimplement the session creation routine. What is important here, is the $id, that is supposed to be hard to guess. Giancarlo wrote: The manual gives an example: function destroy ($id)

[PHP] own session_name gc

2002-10-07 Thread Giancarlo
The manual gives an example: function destroy ($id) { global $sess_save_path, $sess_session_name; $sess_file = $sess_save_path/sess_$id; return(unlink($sess_file)); } /* * WARNING - You will need to implement some * * sort of