Where it is defined that 'OnNoSession' it will redirect to '/login.html' ? and how we can change it to '/'?

i want to change the default redirection onNoSession. i want to handle it with my GUI. how is it possible ?