I'm interested in having a silent AllowAccess function. I have Webapps that are login optional, and after logging out the user could click the back button and return to a view that requires being logged in. I don't need an error message, I just need the navigation stopped.
I think the developer should have more discretion as to how to handle whether or not an error message is generated. Also, maybe a property that would allow conditionally defeating the back button.
Code:
// Test Access rights...
Get AllowAccess to bOK
If (not(bOK)) Begin
Error DFERR_WEBAPP_ACCESS_DENIED
Procedure_Return
End
Anyone else have any thoughts on this?