how to Store User's Last Page Visited using session in php5?
when user come to my website & when he login then he will redirect to user panel of my site. but if user is not active more than 5 min then session will expire that time if user will active then it will redirect to login page.
now i want when user relogin then he will redirect to his last visited page|(where his session expire last time).