Private/Polyfony/Security/Accounts.php
private function createDatabaseSessionUntil(int $expiration_date, string $session_signature) :bool {

		// open the session
		return $this->set([
			'session_expiration_date'	=> $expiration_date,
			'session_key'				=> $session_signature,
			'last_login_origin'			=> Sec::getSafeRemoteAddress(),
			'last_login_agent'			=> Sec::getSafeUserAgent(),
			'last_login_date'			=> time()
		])->save();

	}
private function createDatabaseSessionUntil(int $expiration_date, string $session_signature) :bool {

		// open the session
		return $this->set([
			'session_expiration_date'	=> $expiration_date,
			'session_key'				=> $session_signature,
			'last_login_origin'			=> Sec::getSafeRemoteAddress(),
			'last_login_agent'			=> Sec::getSafeUserAgent(),
			'last_login_date'			=> time()
		])->save();

	}
private function createDatabaseSessionUntil ( int $ expiration_date , string $ session_signature ) : bool { // open the session return $ this -> set ( [ 'session_expiration_date' => $ expiration_date , 'session_key' => $ session_signature , 'last_login_origin' => Sec :: getSafeRemoteAddress ( ) , 'last_login_agent' => Sec :: getSafeUserAgent ( ) , 'last_login_date' => time ( ) ] ) -> save ( ) ; }
second part of the session opening process
second part of the session opening process