In asp.net 3.5, i am trying to send a user to a different https url to login, if the user is not logged in. I am kinda’ restricting the user not to see the forum page in the current site (http://thisSite.com/forum.aspx), if the user is not logged in.
I am not sure how to redirect the user back from the login page (https://somethirdpartysite.com) back to the http://thisSite.com/forum.aspx
i tried placing response.redirect in my forum.aspx like this:
response.redirect(“https://somethirdpartysite.com”), but it’s not behaving as expected.
Any pointers would help me.
Regards,
Ron.
Use
ReturnUrlQuery Strign key:https://somethirdpartysite.com?ReturnUrl=Forum.aspxso after the login an user will be automatically redirected to theForum.aspxpage.