Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mads Justesen 9 posts 40 karma points
    Sep 08, 2023 @ 12:11
    Mads Justesen
    0

    Redirected to restriced page even though I'm logged in

    Hi there!

    I'm currently struggling with what I think is mediaprotect redirecting to the wrong content.

    The first image is of the page on which I have a image which is protected with MediaProtect, Im currently not logged in as a user. enter image description here The second image is the page I'm redirected to when I try to click the Protected Item. As seen at the top arrow I'm currently not logged in (this info is gained with MemberManager if thats relevant) the second arrow shows the returnurl that I should be send to. enter image description here The third image is after I've logged in, however even though I've logged in, i'll still be redirected to the restricted page insted of the actual content I wish to see. If I return to the page of the first image and click the item again I'll still be send to the page of the third image even though I'm logged in. I'm expecting to see the fourth image. enter image description here enter image description here

    Has anyone experianced something similar to this and have any solutions? If anything more is need like code snippets please do let me know.

    Kind regards

    Mads

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Sep 10, 2023 @ 08:55
    Marc Goodson
    0

    Hi Mads

    Probably not this, but I once spent hours trying to debug something similar and it turned out that the item was protected by MemberGroup and my logged in Member wasn't in that 'MemberGroup'!

    So I was checking I was logged in, as you are above... but it turned out my member wasn't authorized to view the file!

    Anyway, mentioning on the off-chance your issue is membergroup related rather than a binary 'anyone logged in' can see stuff...

    regards

    Marc

  • Mads Justesen 9 posts 40 karma points
    Sep 18, 2023 @ 07:21
    Mads Justesen
    0

    Hi Marc

    I tested it and sadly it didn't help :(

    Got any other ideas?

    Kind regards

    Mads

Please Sign in or register to post replies

Write your reply to:

Draft