Hello,
How can I make it so that when I call session_destroy() it will cause a trigger to another function that will perform some external clean up tasks (such as file deletion)?
Thanx
uhm... just call the extra function after you call the session_destroy?
Or make a replacement function that you call instead of session_destroy;
function killmysession() { session_detroy(); //other things };
..or define you own sessionhandler via session_set_save_handler() 😉
bye, Niko