Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Returnurl Always Points To Index.php

$
0
0
I have exactly the same problem as GSTAR had, but in my case Yii::app()->user->returnUrl is always pointing to index.php in my application.

And thus, login always redirects me to home page, not there, where I was.

I printed it out to myself in main.php layout file, so I see it on very page. No matter, where I go, it is always index.php, not route to the previously visited page (as supposed to be).

Anyone have any idea, what can be wrong?

I have deployed a fresh, auto-generated Yii application. I have changed it strongly ever since, but I did not mess up anything around redirects, referrers, login etc.

Cookies for sure works, because I can mark "remember me" in login page and don't have to login again, after restarting browser.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>