So after some more time spent with Session I came to conclusion, that there is no need to control session ID creation before calling session_start(). Because empty sessions are always regenerated on [line 118](https://github.com/KacerCZ/nette/blob/sessionid-regenerate/Nette/Http/Session.php#L118) and then correct session ID is assigned to regenerated session.