Scenario is this:

  • User sent a link to a website where they must be authenticated to view content.
  • User clicks link.
  • They have an account but their session has expired so they get 403 access denied page.
  • They login.
  • The ideal outcome is they are redirected to the original link they tried to access.

I can get a login form to show on the 403 page but can't redirect to the node.

Has anyone any experience of this?

  • "can't redirect to the node" - what have you tried to achieve this?
    – Mołot
    Aug 19 '13 at 9:11

Login Destination claims to do what you need:

It is also possible to keep users on the currently visited page after logging in or out.

  • Thanks. Ended up using 'Redirect 403 to User Login' module – drupal.org/project/r4032login Aug 22 '13 at 15:15
  • 1
    @StephenWilson maybe you could write how it solved your question as another answer?
    – Mołot
    Aug 23 '13 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.