create manually parameter ReturnUrl
- by user276640
i have view like 'home/details/5', it can be access by anonymous user. but there is button, which can be pressed only by registered users. no problem, i can look into Request.IsAuthenticated , and if anonymous i show button login instead of secret button
but the problem- when press login i can lose address and parameters of page. how can i create…