How to redirect requested url after login
sir i am trying to redirect to requested URL after login user.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Brajesh KumarRank #678 · 3.5K reputationPosted Jun 21, 2017, 4:12 AM EDT
To achieve this,
(This is the line of code having information for which the page is requested.)
Note: In the code, given above, we are redirecting the user to login.aspx page with the URL query string with the value of the clicked page.
Note In the code, given above, we are checking for URL query string value, if there is a value, followed by redirecting to the specific page; otherwise, aboutmyself.aspx.
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 21, 2017, 8:36 PM EDT
Nigel FernandesRank #753 · 3.1K reputationPosted Jun 25, 2017, 4:43 PM EDT
Rajkiran SwainRank #165 · 14.4K reputationPosted Jun 21, 2017, 9:14 AM EDT