how to Store User's Last Page Visited using session in php5?
<p>how to Store User's Last Page Visited using session in php5?</p>

<p>when user come to my website &amp; 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.</p>

<p>now i want when user relogin then he will redirect to his last visited page|(where his session expire last time).</p>
