Hi,
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
—
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]