[TYPO3-english] Get URL before redirect to login page.

Vu Anh truong i.truongva at gmail.com
Fri Oct 25 10:44:20 CEST 2013


Hi all,

I have a question.
I enter a link in browser (example.com/index.php?id=20) when not log in. My site will auto redirect to log in page (example.com/index.php?id=1).
In controller of a extension log in in login page i want to get url before redirect (i want to get example.com/index.php?id=20).

Could you please help me get it.
I use $_SERVER['HTTP_REFERER'] but typo3 return null.

Thanks and best regards!


More information about the TYPO3-english mailing list