title: How to redirect an user to the same page in which he browsed after login drupal
body: <p>i am working on a website with drupal which has a lot of user restriction pages. when a user is guest and he need to access a webpage he will be asked for user name and password while he logged in he is redirected to the main page or account page .can i make the user to redirect to he same page not to the front page or account page,</p>