Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've used Umbraco for awhile now, however, I've never used a node's Public Access feature till recently.
I've enabled it on a few nodes that require the member be logged in and it's redirecting to the login page I've assigned it properly. What should I use for the return url though? My login controls usually use a value with the key of ReturnUrl from either the querystring or a session value, but there doesn't seem to be any similar values in either of those spots.
I do see that the browser url has persisted from the previous page and there are a couple of values in the current context item dictionary that point there as well.
Am I doing something wrong or is it just as simple as doing a redirect to one of the properties in Request.Url?
When you use the Public Access functionality you stay on the same page as you mentioned. Only a different page is rendered. So you could use one of the properties in Request.Url indeed.
Thanks for that Richard.
Seems like the easiest way of handling it. Simplicity for the win!
Once user will be redirected to the login page, how can notify user that he was redirected and not just going to to login page?
Thank you for your help.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted