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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nigel FernandesPosted Jun 25, 2017, 8:43 PM
Sundaram SubramanianPosted Jun 22, 2017, 12:36 AM
Rajkiran SwainPosted Jun 21, 2017, 1:14 PM
Brajesh KumarPosted Jun 21, 2017, 8:12 AM
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.