nette/nette — pull request #1167 by OndrejSlamecka (2013-07-13 13:30:31+00:00)
Title: Session: Changed $request to be protected

I want to extend Session so that on every session ID generation I generate my own token similar to session ID. I need to save this token to cookie (using Request::getCookie) but I don't have access to Request. There are two options: A) Copy the constructor and save the request into a new defined variable, B) Proposed commit.