note 51724 rejected from function.session-regenerate-id by nlopess

From: Date: Fri, 08 Apr 2005 16:28:51 +0000
Subject: note 51724 rejected from function.session-regenerate-id by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87717@lists.php.net to get a copy of this message
Note Submitter: mjs15451 at hotmail dot com ---- Anyone know if an action like this is possible if php is running in safe mode? Since sess_* is created by the server process, it has the same uid/gid as that process. Unlink would not be able to delete the file as that file does not have the same uid/gid as the template it's being called from. $oldID = session_id(); session_regenerate_id(); unlink(session_save_path() . "/sess_$oldID");

« previous php.notes (#87717) next »