php - How can I capture the address that user was going to so I can redirect them after login? -
i'm directing users page on site email (possibly email client). when reach site presented login screen , address headed lost.
how can capture entire address trying visit, can redirect them once log in?
you need capture address redirect them login page, (ie when check if logged in) i'd recommend storing in session. quick method redirect /login.php?from=store.php
example, not best way $_get['from']
hijacked redirect user somewhere else, why use $_session
store value.
Comments
Post a Comment