Hello friends,
I need your help for following scenario.
I'm having following pages
1. home.aspx
2. login.aspx
3. page1.aspx
4. page2.aspx
Now Home page will be accessed without any authentication.
If user clicks page1 and page2, if user is already logged in then they can access those two pages otherwise it should go to login page.
Now if user clicked page1 and he is not logged in, then it should go to login page, and after login successful, page1 should display not home page.
Now if user clicked page2 and he is not logged in, then it should go to login page, and after login successful, page2 should display directly, not home page or page1 page.
Means the page from which he got redirected to login page, the same page should display after login.
Help me out.
Thanks
Sreekanth ReddyRank #726 · 3.2K reputationPosted Dec 24, 2018, 6:15 PM EST
Sang singh6 reputationPosted Aug 18, 2020, 8:43 PM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Aug 19, 2020, 4:13 AM EDT
Rahul Lakshakar193 reputationPosted Jan 14, 2021, 4:53 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts