I want to know how to check the page which user is viewing whether a redirected-page or user get to it by himself.
Currently, I use a redirected-flag in redirect method of CHttpRequest class and yiilite.php to get what I want. But I don’t think touching the core class of framework is a good idea.