Hi,
Due some custom login requests by the customer, I have the following code on my master template:
if (Dynamicweb.ExecutingContext.IsFrontEnd()){
if (!Dynamicweb.Security.IsCurrentUserAllowed(Pageview.Page)){
var newSecurity = new Dynamicweb.Security();
newSecurity.ExtranetLogoff(false);
// more stuff here
}
}
I was expecting that it will only logoff user on frontend, althought when I try to upload a document or delete a page I am being logged out from backoffice. Is this the correct behaviour?
DW version: 8.8.1.15
Thanks, Mário