Intermittent Error with Code testing if page is protected
Hello
I have a strange, intermittent problem with just one page on my website. The page is not protected with MediaProtect. It starts crashing on the line of code that checks if the page is protected. However just opening up the page in the back office seems to clear it. Has anyone come across anything like this before?
We are using Umbraco v 6.16 and Media Protect v1.6
Intermittent Error with Code testing if page is protected
Hello
I have a strange, intermittent problem with just one page on my website. The page is not protected with MediaProtect. It starts crashing on the line of code that checks if the page is protected. However just opening up the page in the back office seems to clear it. Has anyone come across anything like this before?
We are using Umbraco v 6.16 and Media Protect v1.6
Hi,
Umbraco.Isprotected is not a call to mediaprotect library. Add a reference to MediaProtect.library and use MediaProtect.Library.IsProtected.
Hope this helps.
Best,
Richard
Hi,
I have just released V2 and that comes with an extension method where you can say:
is working on a reply...