Implements session _refresh()_ method that creates a new valid session is internal cookie is expired, or the current session otherwise.
Implements session refresh() method that creates a new valid session is internal cookie is expired, or the current session otherwise.