Changing set variables order session, param and request