|
When you reach the login page, where the user is redirected if not logged in, save the path to the previous page (SERVER['HTTP_REFERER']) in a session. Be aware of, though, that the SERVER['HTTP_REFERER'] isn't always available, so you should check if it is set first. Then when the user has logged in redirect him the the stored page.
__________________
34343639363436653237373432303635373837303635363337 34323037343638363137343263323036343639363432303739 366637353366
|