I am maintaining a session for user login.
Consider a scenario that, User working on page20 with his account credential. He is idle for the session variable time out. Then he start working on page20 and click link of page21.Here session is expired so he'll redirect to Login page.
After successful logged in, User should redirect to the page21.
So how do I achieve it?