Announcement Announcement Module
Collapse
No announcement yet.
Redirecting someone to the referral page after they login. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Redirecting someone to the referral page after they login.

    Hi.,
    I have just started working on MVC, and I am still a beginner here. I have a problem here, i.e., the user can access the pages in a website upto some extent and when they reach the last accesible page without login i ask them to login(send to the login page ). Until this its fine., but after logging in i should redirect them back to the referred page, the page they logged in. For this. i think i should get the referral url and then redirect them to that page after logged in, but when i try to get the referral url from the request i am getting null. What should i do now?

    Thanks! for your help!
Working...
X