Oi!
I have long wanted to use the returntosamepageafterlogin function on my site. But what is the best way?
I was thinking about saving the URL in the session, and when he / she logs in, I will check if returnto-session, if it is installed, if so, I will be redirected to this page
Is it safe / good?
Berra source
share