Compare the value of the [Response_FilePath] and [Include_CurrentPath] methods. If they agree then the page is being loaded directly, otherwise the page is being loaded as an include or library file.
if(Response_FilePath == Include_CurrentPath) 'This page was loaded directly.' else 'This page was loaded as an include.' /if
This page was loaded as an include.
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.