Request: New Hook Renegerate_Id


On app\Tygh\Session.php a very useful hook can be added at the end of function
public static function regenerateId()

#hook ('renegerate_id' or any other name i consider can be very useful )

fn_set_hook('renegerate_id', $old_id, $new_id);

When i create a custom add-on and i keep tracking some steps or data depending on session_id in the moment when user is login the session_id is changing and i loose the tracking.

I change the core but is not a long term solution becouse on every update i need to add it again.

Thank you in advance


[color=#808080][size=2]part of[/size][/color]

sorry wrong place :)